mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Updated for Python 1.4
This commit is contained in:
parent
c30e95f4b0
commit
89cb67bb64
43 changed files with 731 additions and 961 deletions
|
@ -15,9 +15,8 @@ class Test(Frame):
|
|||
|
||||
def createWidgets(self):
|
||||
# a hello button
|
||||
self.hi_there = Button(self, {'text': 'Hello'})
|
||||
self.hi_there.pack({'side': 'left'})
|
||||
|
||||
self.hi_there = Button(self, text='Hello')
|
||||
self.hi_there.pack(side=LEFT)
|
||||
|
||||
def __init__(self, master=None):
|
||||
Frame.__init__(self, master)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue