On Mon, Oct 18, 2004 at 07:15:32PM +0100, Gustavo J. A. M. Carneiro wrote:
>   It's just that you have to get the selected menu item first, only then
> get_data.  It forces you to understand the internal structure of the
> option menu to get to the selected menu item.  

Well, isn't it just a matter of doing:

    optionmenu.get_menu().get_active() 

-- ?

I tend to find using that a lot more straightforward than using
get_history() to get the index and then depend on a shared data
structure (which may or may not be available where you need it).

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to