Difference between revisions of "GEPS 029: GTK3-GObject introspection Conversion"
(Created page with "Gramps was written with GTK 2 toolkit. This has been replaced upstream with GTK 3, so Gramps should convert to GTK 3. == Guideline == We try to convert 1 to 1. If there are p...") |
m |
||
Line 7: | Line 7: | ||
Before release, all TODO GTK3 in the code must be cleaned up | Before release, all TODO GTK3 in the code must be cleaned up | ||
+ | |||
+ | == Documentation == | ||
+ | Biggest problem is that there is no good python documentation yet for GTK 3. Best is to look at the base C documentation, and understand from experience how the introspection works. Gnome docs: [http://developer.gnome.org/gtk3/index.html]. | ||
+ | |||
+ | As python works with classes, it looks somewhat like the C++ interface: [http://developer.gnome.org/gtkmm/stable/] | ||
== Problems == | == Problems == |
Revision as of 09:53, 17 June 2012
Gramps was written with GTK 2 toolkit. This has been replaced upstream with GTK 3, so Gramps should convert to GTK 3.
Guideline
We try to convert 1 to 1. If there are problems due to deprecated features, or otherwise, add in the code:
# TODO GTK3: write what problem is due to gtk 3 conversion
Before release, all TODO GTK3 in the code must be cleaned up
Documentation
Biggest problem is that there is no good python documentation yet for GTK 3. Best is to look at the base C documentation, and understand from experience how the introspection works. Gnome docs: [1].
As python works with classes, it looks somewhat like the C++ interface: [2]
Problems
- Gtk.Clipboard seems to work differently
Related Gramps Bugs
- #5009: Use gobject introspection for GTK 3 dependency