Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Features/GTK3/Porting/Log
(view source)
Revision as of 09:08, 18 July 2012
No change in size
,
09:08, 18 July 2012
→Clipboard
Line 42:
Line 42:
self.clipboard = Gtk.Clipboard.get(Gdk.SELECTION_CLIPBOARD)
self.clipboard = Gtk.Clipboard.get(Gdk.SELECTION_CLIPBOARD)
−
And then, when the ''Copy'' button is pressed we should call this function (in the callback). The ''self.viewer.'''''active_log'' is a Gtk.TextBuffer
+
And then, when the ''Copy'' button is pressed we should call this function (in the callback). The ''self.viewer.'''''active_log
'
'' is a Gtk.TextBuffer
self.viewer.active_log.copy_clipboard(self.clipboard)
self.viewer.active_log.copy_clipboard(self.clipboard)
−
= Missing things =
= Missing things =
Humitos
266
edits