Changes
Jump to navigation
Jump to search
Line 146:
Line 146:
−
Line 154:
Line 153:
+
+
Line 160:
Line 161:
−
Development Team/Almanac/GTK's Clipboard Module (view source)
Revision as of 14:55, 25 July 2008
, 14:55, 25 July 2008→How do I work with multiple clipboards in my activity?
self.pg1_clipboard.set_text(self.clipInput1.get_text())
self.pg1_clipboard.set_text(self.clipInput1.get_text())
_logger.debug("$$$$$$$$$$$$$$$$$$$ Copy button on First Page pressed")
_logger.debug("$$$$$$$$$$$$$$$$$$$ Copy button on First Page pressed")
#### Method: _pasteClipInput1_cb, which is called when the "Paste Text" button is clicked
#### Method: _pasteClipInput1_cb, which is called when the "Paste Text" button is clicked
#### Method: _copyClipInput2_cb, which is called when the "Copy Text" button is clicked
#### Method: _copyClipInput2_cb, which is called when the "Copy Text" button is clicked
self.pg2_clipboard.set_text(self.clipInput2.get_text())
self.pg2_clipboard.set_text(self.clipInput2.get_text())
_logger.debug("$$$$$$$$$$$$$$$$$$$ Copy button on Second Page pressed")
_logger.debug("$$$$$$$$$$$$$$$$$$$ Copy button on Second Page pressed")
#### Method: _pasteClipInput2_cb, which is called when the "Paste Text" button is clicked
#### Method: _pasteClipInput2_cb, which is called when the "Paste Text" button is clicked