[9556] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Menu bug?
daemon@ATHENA.MIT.EDU (Kemal 'Disq' Hadimli)
Sun Oct 25 12:51:50 1998
Date: Sun, 25 Oct 1998 19:51:59 +0000 (GMT)
From: "Kemal 'Disq' Hadimli" <disq@iname.com>
Reply-To: "Kemal 'Disq' Hadimli" <disq@iname.com>
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Hello.
Create a menu with GtkItemFactory. And I disable one menu
branch (e.g. "<main>/About") with gtk_widget_set_sensitive. (use
gtk_item_factory_get_widget) The menu branch is not disabled, but the
children if it is disabled. Click on the branch item, the menu is
opened..
a) Try close the menu by clicking elsewhere in the app window. Did it
close? no. Try activating another app, then re-activating yours to
close it. Does it work? no. Finally, hit the escape key to close the
menu.
b) Open the 'disabled' menu again. Try re-assigning a shortcut key by
pressing some keys with Ctrl or Alt or whatever. It works, and changes
the shortcut sequence of menuitem #1, which is disabled like the other
menuitems.
Use Gtk+ 1.1.2 when trying these.
bye,
disqk.
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null