Christian Robottom Reis wrote:
On Mon, Nov 29, 2004 at 06:42:18AM -0500, Thomas Mills Hinkle wrote:
You need to add:
combo.set_text_column(0)
That will tell your combo box to use the 1st (and only) column of your
listbox.
-> FAQ 16.8
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq16.008.htp
If not using glade it's easier to use the gtk.combo_box_new_text()
function with the append_text(), prepend_text(), insert_text() and
remove_text() methods as explained here:
http://www.pygtk.org/pygtk2tutorial/ch-NewInPyGTK2.4.html#sec-ComboBox
http://www.pygtk.org/pygtk2reference/class-gtkcombobox.html#function-gtk--combo-box-new-text
John
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/