GNOME Bugzilla – Bug 318407
missing lookup_entry() method for Gtk::AccelMap
Last modified: 2005-11-30 09:53:14 UTC
Distribution/Version: FC(n) read the GTK+ documentation, note presence of gtk_accel_map_lookup_entry(). then read the gtkmm header file and source file for accelmap. the lookup_entry() method is missing.
this is an implementation of the function: bool lookup_entry (const Glib::ustring accel_path, Gtk::AccelKey& key) { GtkAccelKey gkey; bool known = gtk_accel_map_lookup_entry (accel_path.c_str(), &gkey); if (known) { key = AccelKey (gkey.accel_key, Gdk::ModifierType (gkey.accel_mods)); } else { key = AccelKey (GDK_VoidSymbol, Gdk::ModifierType (0)); } return known; }
Yeah, I can't find an equivalent for this. I'll add it soon. Thanks. I prefer to have actual patches, though this is 99% there.
Done in HEAD in cvs. Thanks.