Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Features/GTK3/Porting/InfoSlicer
(view source)
Revision as of 11:36, 4 July 2012
343 bytes added
,
11:36, 4 July 2012
→gtk.gdk._2BUTTON_PRESS
Line 41:
Line 41:
Gdk.EventType._2BUTTON_PRESS
Gdk.EventType._2BUTTON_PRESS
Gdk.EventType._3BUTTON_PRESS
Gdk.EventType._3BUTTON_PRESS
+
+
== Gtk.TextBuffer.get_slice() needs a new argument ==
+
+
We need a new argument to indicate if we want to include the ''hidden_chars'' as well. It wasn't required in gtk2 and by default it was '''True'''
+
+
buf = gtk.TextBuffer()
+
buf.get_slice(start, end)
+
+
replaced by:
+
+
buf = Gtk.TextBuffer()
+
buf.get_slice(start, end, include_hidden_chars)
= Missing / Problematic things (not ported yet) =
= Missing / Problematic things (not ported yet) =
Humitos
266
edits