euoar escribió:
Is that possible? I have tried something like this:
def ncolumns():
code
return string
example that code returns: "str, str, str"
then: gtk.ListStore( ncolumns() ). But it throws: "could not get
typecode from object"
______________________________________________ LLama Gratis a
cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por
minuto. http://es.voice.yahoo.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/
I think I have the solution (I'm answering myself to avoid people to
waste time thinking in my question):
args = [str, str, str]
gtk.ListStore(*args)
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.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/