Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Features/GTK3/Porting/Typing Turtle
(view source)
Revision as of 06:21, 27 July 2012
344 bytes added
,
06:21, 27 July 2012
→Code Snippets
Line 159:
Line 159:
Every entry was a tuple of (keycode, group, level). Now, this is an object with those attributes.
Every entry was a tuple of (keycode, group, level). Now, this is an object with those attributes.
+
+
== GdkPixbuf.PixbufLoader ==
+
+
Change this:
+
+
pxb_loader = gtk.gdk.PixbufLoader(image_type='png')
+
+
by:
+
+
pxb_loader = GdkPixbuf.PixbufLoader.new_with_type('png')
+
+
== KEY_PRESS ==
+
+
This should be done by the '''pygi-convert.sh''' script.
+
+
gtk.gdk.KEY_PRESS
+
gtk.gdk.KEY_RELEASE
+
+
replaced by
+
+
Gdk.EventType.KEY_PRESS
+
Gdk.EventType.KEY_RELEASE
= Notes =
= Notes =
Humitos
266
edits