maemo.org Bugzilla – Bug 4628
python-hildon lacks some functions from hildon/hildon-gtk.h
Last modified: 2009-07-15 22:56:05 UTC
You need to log in before you can comment on or make changes to this bug.
The following functions are currently not available on python-hildon: hildon_gtk_menu_new hildon_gtk_button_new hildon_gtk_toggle_button_new hildon_gtk_radio_button_new hildon_gtk_tree_view_new hildon_gtk_tree_view_new_with_model hildon_gtk_icon_view_new hildon_gtk_icon_view_new_with_model hildon_gtk_hscale_new hildon_gtk_vscale_new All of them are constructors for GTK classes, but defined in Hildon. They can become classes in hildon with names like: hildon.GtkMenu hildon.GtkButton ... or even classes of a subpackage: hildon.gtk.Menu hildon.gtk.Button ...
python-hildon 0.9.0-1maemo7 adds support for some of these functions, remaining missing bits: hildon_gtk_menu_new hildon_gtk_toggle_button_new hildon_gtk_radio_button_new hildon_gtk_icon_view_new hildon_gtk_icon_view_new_with_model hildon_gtk_hscale_new hildon_gtk_vscale_new Note: the Python API for these functions is: hildon.GtkClass e.g.: hildon.GtkButton hildon.GtkTreeView
The HildonSizeType enum is also missing.
It's not :). It's in the GTK module, because it is added as changes to gtk+ C library. See e.g. gtk.HILDON_SIZE_AUTO
python-hildon 0.9.0-1maemo8 added support for hildon_gtk_radio_button_new, remaining missing bits: hildon_gtk_menu_new hildon_gtk_toggle_button_new hildon_gtk_icon_view_new hildon_gtk_icon_view_new_with_model hildon_gtk_hscale_new hildon_gtk_vscale_new
Fixed in SVN trunk (r1211). Will be on next python-hildon release (0.9.0-1maemo9).