[Gtk-sharp-list] Info about menus
Sergio Duran
Sergio Duran <sergioduran@gmail.com>
Thu, 18 Nov 2004 13:45:17 -0600
A simple question about menus.
I have an OptionMenu, y create a Menu, populate it and link the
OptionMenu to the Menu, how can I get the MenuItem currently selected?
Do I have to add event handlers on MenuItem.Activated, on
OptionMenu.Activated or can I just tell the OptionMenu to give me the
currently selected MenuItem?
I'm setting the MenuItem.UserData with some integers of mine.. is this valid?