[pygtk] Re: 2 Combo Boxes! What was I thinking?

Alan Franzoni alan.franzoni.xyz at gmail.com
Sun May 7 08:17:25 WST 2006


Il Thu, 4 May 2006 19:41:23 +0100, John CORRY ha scritto:

I think you should post the Glade XML file as well... by the way, I can
guess...

try using an external model instead of append_text. It will save you
problems.

liststore = gtk.ListStore(str)
liststore.append("Mon")
liststore.append("Tue")

combo3.props.model = liststore

This should do.


-- 
Alan Franzoni <alan.franzoni.xyz a gmail.com>
-
Togli .xyz dalla mia email per contattarmi.
Rremove .xyz from my address in order to contact me.
-
GPG Key Fingerprint:
5C77 9DC3 BD5B 3A28 E7BC 921A 0255 42AA FE06 8F3E 
-
Blog: http://laterradeglieroi.verdiperronchi.com



More information about the pygtk mailing list