At 5:07 PM +0200 12/22/05, Rob Marino wrote:
>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?

Note that I haven't actually /used/ the tree stuff.

I don't think it's possible with the default 'stores.  I think you may need
to roll your own from the GenericTreeModel class.  The provided classes
seem to store entire rows, so they don't want to insert columns.  You would
probably store columns.  Hmm, I'd certainly try searching around for
existing GenericTreeModel derivatives before starting this.
____________________________________________________________________
TonyN.:'                       <mailto:[EMAIL PROTECTED]>
      '                              <http://www.georgeanelson.com/>
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to