[pygtk] liststore using glade3, gtkbuilder, and the glade designer

Jon Black juan.black at gmail.com
Sun May 24 17:16:29 WST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've created a dialog using a treeview and liststore in glade designer
which is saved to the gtkbuilder format. I am able to programatically
access these items through gtk.Builder.

However, whenever I try to add rows to the liststore, the row is added
without any data:

	self.liststore_vocab.prepend(["test", "test", "test"])

So the above row results in a clickable row that is empty rather than
having "test" written in each column.

I also tried creating the liststore myself and setting it in the
treeview, but got the same result.

Any help is appreciated.
Jon.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoZEGQACgkQH3browtnCkseRACggYLuLLUMhAEY3RqdDr7fir0J
vpMAoLTgkxYL23I5LYmJWeSOLp8Ufqgx
=lu37
-----END PGP SIGNATURE-----


More information about the pygtk mailing list