Features/GTK3/Porting/Typing Turtle: Difference between revisions

Humitos (talk | contribs)
No edit summary
Humitos (talk | contribs)
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 =