Layout management in tkinter.

Lukasz Pawelczyk pawelczyk at lucent.com
Thu Feb 14 05:22:57 EST 2002


Hello,

I try to change the geometry manager pack into grid in the code
and I have problem.
Why it does not work?

prz1=Button(main,text="Otwórz",cursor="question_arrow",command=otworz)
prz1.grid(row=0)

prz2=Button(main,text="Zachowaj",cursor="dot",command=zachowaj)
prz2.grid(row=0,column=1)

prz3=Button(main,text="Zamknij",cursor="pirate",command=wyjscie)
prz3.grid(row=0,column=2)

plik=ScrolledText(main,background="grey")
plik.grid(row=1,column=0,columnspan=3)		- there the code stop


Regards,
Lukasz



More information about the Python-list mailing list