Re: tkinter doubt

2010-06-10 Thread Chris Rebert
On Thu, Jun 10, 2010 at 12:48 AM, Thomas Jollans wrote: > On 06/10/2010 08:50 AM, madhuri vio wrote: >> # File: hello2.py >> >> from Tkinter import * >> >> class App: >> >>     def __init__(self, master): >> >>         frame = Frame(master) >>         frame.pack() >> >>         self.button = Butto

Re: tkinter doubt

2010-06-10 Thread Thomas Jollans
On 06/10/2010 08:50 AM, madhuri vio wrote: > # File: hello2.py > > from Tkinter import * > > class App: > > def __init__(self, master): > > frame = Frame(master) > frame.pack() > > self.button = Button(frame, text="QUIT", fg="red", command=frame.quit) > > s

tkinter doubt

2010-06-09 Thread madhuri vio
# File: hello2.py from Tkinter import * class App: def __init__(self, master): frame = Frame(master) frame.pack() self.button = Button(frame, text="QUIT", fg="red", command=frame.quit) self.button.pack(side=LEFT) self.hi_there = Button(frame, text="