[gtkada] Menu Item Text
Emmanuel Briot
briot at gnat.com
Wed Jun 6 18:10:22 CEST 2001
David Knowles writes:
> I would like to obtain the text of an option menu item when it is click on.
> I've looked at the Gtkada bodies and specs and see that Gtk_New(Menu_Item,
> Label) enables me to set the menu item text, but there doesn't appear to be
Have you tried to use Gtk.Menu.Get_Active on the result of
Gtk.Option_Menu.Get_Menu ?
This will give you the active menu item, and from there you can easily get the
label in case you need it.
Emmanuel
More information about the gtkada
mailing list