>>> from gtk import Combo >>> c = Combo() >>> c.set_popdown_strings(['a','b','c'])
Then, later in the code, I'd like to select one of these values (say 'b') and have the widget reflect this choice. I normally get the current value of the widget via:
>>> val = c.get_children()[0].get_text()
but I don't know how to actually set one of the values. Can anyone help me?
Thanks in advance.
R.
Rick Muller [EMAIL PROTECTED]
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
