Development Team/Almanac/GTK's Clipboard Module: Difference between revisions

Line 29: Line 29:
         pasteClipInput = gtk.Button(label='Paste Text')
         pasteClipInput = gtk.Button(label='Paste Text')
         pasteClipInput.connect("clicked", self._pasteClipInput_cb, None) # CALLBACK USED WHEN PASTE BUTTON PRESSED!
         pasteClipInput.connect("clicked", self._pasteClipInput_cb, None) # CALLBACK USED WHEN PASTE BUTTON PRESSED!
        #### Put everything together in the UI
        button_row.pack_start(copyClipInput, expand=False, fill=False)
        button_row.pack_start(pasteClipInput, expand=False, fill=False)
        button_row.pack_start(gtk.Label(''), expand=True, fill=True) #for appearance purposes
        first_page_entry_box.pack_start(self.clipInput, expand=False, fill=False)
        first_page_entry_box.pack_start(button_row, expand=False, fill=False)
        first_page.pack_start(first_page_entry_box)
        first_page.pack_start(gtk.Label(''), expand=True, fill=True) #for appearance purposes
         ...
         ...