At 6:57 PM +0200 12/22/05, Rob Marino wrote:
>Hi Tony.
>
>Thanks - found a way...
>
>        lstore_typ = []
>
>        keys = self._report_data.keys()
>        for key  in keys:
>            lstore_typ.append( gobject.TYPE_STRING)
>
>        liststore  = gtk.ListStore(*lstore_typ)
>
>which seems to work fine ...... lstore_typ.append( str ) would most
>likely be ok too..tricky asterisk that huh? ( :

Oh.  I thought you needed to add the columns after the TreeView was in use.
Sure, you can put as many in as you want at creation time.
____________________________________________________________________
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