Re: Maximize main window with code

2006-07-01 Thread Fredrik Lundh
JohnJohnUSA wrote: > I am new to Python. How do I get the following program to appear > initially with the window maximized? Thanks for your help! > > from Tkinter import * > # set up the window itself > top = Tk() top.state("zoomed") > F = Frame(top) > F.pack() > # add the widgets > lHello =

Re: Maximize main window with code

2006-06-30 Thread James Stroud
JohnJohnUSA wrote: > I am new to Python. How do I get the following program to appear > initially with the window maximized? Thanks for your help! > > from Tkinter import * > # set up the window itself > top = Tk() > F = Frame(top) > F.pack() > # add the widgets > lHello = Label(F, text="Hello")

Maximize main window with code

2006-06-30 Thread JohnJohnUSA
I am new to Python. How do I get the following program to appear initially with the window maximized? Thanks for your help! from Tkinter import * # set up the window itself top = Tk() F = Frame(top) F.pack() # add the widgets lHello = Label(F, text="Hello") lHello.pack() bQuit = Button(F, text="