6 print self
.hi_there
["command"]
8 def createWidgets(self
):
10 self
.QUIT
= Button(self
, {'text': 'QUIT',
12 'command': self
.quit
})
14 self
.QUIT
.pack({'side': 'left', 'fill': 'both'})
17 self
.hi_there
= Button(self
, {'text': 'Hello',
18 'command' : self
.printit
})
19 self
.hi_there
.pack({'side': 'left'})
21 # note how Packer defaults to {'side': 'top'}
23 self
.guy2
= Button(self
, {'text': 'button 2'})
26 self
.guy3
= Button(self
, {'text': 'button 3'})
29 def __init__(self
, master
=None):
30 Frame
.__init
__(self
, master
)