From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-09-14 23:14:11
|
https://bugzilla.gnome.org/show_bug.cgi?id=629720 gnome-perl | Gtk2 | unspecified Summary: Action and create menu/tool items Classification: Bindings Product: gnome-perl Version: unspecified OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: Normal Component: Gtk2 AssignedTo: gtk...@li... ReportedBy: us...@zi... QAContact: gtk...@li... GNOME target: --- GNOME version: --- It'd be good if Gtk2::Action subclasses could implement the GtkActionClass class functions create_menu_item() and create_tool_item(). Those functions allow an arbitrary class for the menu item or tool item. For example GtkRecentAction uses them to make a GtkMenuToolButton instead of a plain GtkToolButton. Those class functions don't appear in the GtkAction docs, but seem to be the way to get the desired effect. Being non-signal class functions means all the usual gtk-perl trouble with how to call to a superclass. Initially it could be enough to have no chaining. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |