GNOME Bugzilla – Bug 337011
Add more gtk.accel_map functions
Last modified: 2006-07-13 22:55:36 UTC
Hi! I just wondered why some functions in conjunction with accelerator maps are missing. These functions are: gtk_accel_map_foreach gtk_accel_map_foreach_unfiltered gtk_accel_map_get Source: http://developer.gnome.org/doc/API/2.0/gtk/gtk-Accelerator-Maps.html Would be very nice, if you add those functions in the next release.
GtkAccelMap *gtk_accel_map_get (void); This function is useless; the returned object is opaque and not used in any other API. The other two might be useful...
gtk_accel_map_get() would only be useful for connecting to the "changed" signal of the global accel map if a GtkAccelMap type was added to PyGTK.
Fixed. * gtk/gtk-base-types.defs (AccelMap): Add. #337011 (Sebastian Pölsterl) * gtk/gtk.override (_wrap_gtk_accel_map_foreach) (_wrap_gtk_accel_map_foreach_unfiltered): Add. Fixes #337011 (Sebastian Pölsterl) Checking in gtk/gtk-base-types.defs; /cvs/gnome/pygtk/gtk/gtk-base-types.defs,v <-- gtk-base-types.defs new revision: 1.2; previous revision: 1.1 done Checking in gtk/gtk.override; /cvs/gnome/pygtk/gtk/gtk.override,v <-- gtk.override new revision: 1.396; previous revision: 1.395 done