Hiya, What I can see in the documentation, is that you should supply all columns in the constructor. Alternatively, you can supply the columns with the method set_column_types(). You have to do this for all columns at once, and before adding any data.
Don't forget that whatever columns you have in your list-store does not have a relation to whatever columns you add to your treeview. Cheers, --Tim -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Marino Sent: donderdag 22 december 2005 16:08 Cc: [email protected] Subject: [pygtk] gtk.ListStore.... Hi.... Hopefully some are having a happy Christmas whilst the rest of us toil away in the office!!! Re:gtk.ListStore I need an object of this type for use with a treeview that has a arbitrary number of columns and so I need something like: x = gtk.ListStore() x.append_col('str') I've looked through the gtk.ListStore docs and can't seem to see if this is possible. Is it? Happy xmas to all and easy on the partying. We all need to be here next year!!! :-) Rob M. _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
