Menu bug?
- From: "Kemal 'Disq' Hadimli" <disq iname com>
- To: gtk-list redhat com
- Subject: Menu bug?
- Date: Sun, 25 Oct 1998 19:51:59 +0000 (GMT)
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]