Ian Vincent <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]: 
> 
> I have looked at using a dictionary but I cannot get my head around
> how to do that either.

I have tried this now but the Entry field just does not seem to work:

def add_variable(self, root, varname):
     Label(root, text=varname + ': ').grid(row=self.row, column=0, 
sticky=E)
     self.properties[varname] = StringVar()
     value = Entry(root, relief=SUNKEN, justify=LEFT, 
textvariable=self.properties[varname])        
     value.grid(row=self.row, column=1, sticky=E+W)
     self.row = self.row + 1
     return value


Confused. :-(
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to