accessing selected item from OptionMenu

Hi, I've scoured the docs and must have missed somethign somewhere as I'm 
tryign to find a way to get the currently selected value of an OptionMenu 
but can't see any way. the option menu itself is derived from a button, so 
button->get_label would have worked i'd assume, but i can't find any way 
at all to get the current item. is this possible or do i need to rely on 
callbacks for each individual item?



p.s. from the gtk tutorial "Now that we've shown you the hard way, here's 
how you do it using the gtk_item_factory calls." I spent about 2 hours o 
my life trying to create an option menu with an item factory.... ack... 
the "hard" way is so so much easier to understand!

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]