3 # this shows how to spawn off new windows at a button press
11 fred
.label
= Label(fred
, {'text': "Here's a new window",})
14 def createWidgets(self
):
15 self
.QUIT
= Button(self
, {'text': 'QUIT',
17 'command': self
.quit
})
19 self
.QUIT
.pack({'side': 'left', 'fill': 'both'})
23 self
.hi_there
= Button(self
, {'text': 'Make a New Window',
24 'command' : self
.makeWindow
})
25 self
.hi_there
.pack({'side': 'left'})
28 def __init__(self
, master
=None):
29 Frame
.__init
__(self
, master
)