Changes
Jump to navigation
Jump to search
Line 35:
Line 35:
− +
Development Team/Almanac/GTK's Clipboard Module (view source)
Revision as of 11:05, 25 July 2008
, 11:05, 25 July 2008→How do I copy and paste text from GTK widgets?
#Select all text in self.copyClipInput and copy it to the clipboard
#Select all text in self.copyClipInput and copy it to the clipboard
self.clipInput.select_region(0, -1)
self.clipInput.select_region(0, -1)
self.clipInput.cut_clipboard()
self.clipInput.copy_clipboard()
_logger.debug("$$$$$$$$$$$$$$$$$$$ Copy button pressed")
_logger.debug("$$$$$$$$$$$$$$$$$$$ Copy button pressed")