Entry Widget problem

Fredrik Lundh fredrik at pythonware.com
Fri Jun 30 05:51:38 EDT 2006


Marek S. wrote:

> def __init__(self):
...
>        self.c=f.readline()
>        c1=int(self.c)
>        self.FieldList=[]
>        self.FieldList.append(c1)

here you add an integer to the list.

>    def Pola(self,k,icol,irow,DefaultValue):
>        self.Tab=StringVar()
...
>        self.FieldList.append(self.Tab)

and here you add a StringVar.

</F> 






More information about the Python-list mailing list