Changes
Jump to navigation
Jump to search
Line 29:
Line 29:
− #### 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
Development Team/Almanac/GTK's Clipboard Module (view source)
Revision as of 10:59, 25 July 2008
, 10:59, 25 July 2008→How do I copy and paste text from GTK widgets?
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!
...
...