[pygtk] Listtore

Don Allingham dallingham at users.sourceforge.net
Tue Feb 21 00:55:28 WST 2006


Try:

gtk.ListStore(*[str]*4)

Don

Arie Timmerman wrote:
> 
> 
> 2006/2/20, Johan Dahlin <jdahlin at async.com.br 
> <mailto:jdahlin at async.com.br>>:
> 
>     [..]
>     gtk.ListStore([str] * x)
> 
>     --
>     Johan Dahlin <jdahlin at async.com.br <mailto:jdahlin at async.com.br>>
>     Async Open Source
> 
> 
> It doesn't work actually:
>  >>> store = gtk.ListStore([str]*4)
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> TypeError: could not get typecode from object
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



More information about the pygtk mailing list