6 print self
.hi_there
["command"]
8 def createWidgets(self
):
10 self
.QUIT
= Button(self
, text
='QUIT', foreground
='red',
12 self
.QUIT
.pack(side
=LEFT
, fill
=BOTH
)
14 self
.hi_there
= Button(self
, text
='Hello',
16 self
.hi_there
.pack(side
=LEFT
)
18 # note how Packer defaults to side=TOP
20 self
.guy2
= Button(self
, text
='button 2')
23 self
.guy3
= Button(self
, text
='button 3')
26 def __init__(self
, master
=None):
27 Frame
.__init
__(self
, master
)