3 # note that there is no explicit call to start Tk.
4 # Tkinter is smart enough to start the system if it's not already going.
10 def createWidgets(self
):
11 self
.QUIT
= Button(self
, text
='QUIT', foreground
='red',
14 self
.QUIT
.pack(side
=LEFT
, fill
=BOTH
)
17 self
.hi_there
= Button(self
, text
='Hello',
19 self
.hi_there
.pack(side
=LEFT
)
21 def __init__(self
, master
=None):
22 Frame
.__init
__(self
, master
)