Re: [Tutor] Problem with IntVar() - Oops! Here's the code.

2005-03-04 Thread Ronnie Betzen
#! /usr/bin/env python import Tkinter class timer: def __init__(self): # initialize global variables self.ckbuttonstatus = IntVar() # set up main window self.top = Tk() self.top.geometry('355x125') self.top.title(appname)

Re: [Tutor] Problem with IntVar() - Oops! Here's the code.

2005-03-04 Thread Kent Johnson
There seem to be quite a few problems with this code... Ronnie Betzen wrote: #! /usr/bin/env python import Tkinter should be from Tkinter import * class timer: def __init__(self): The next line needs to be after the line 'self.top = Tk()' so Tkinter is initialized when the variable is