Tkinter problems
Sindh
skodela at my-deja.com
Tue Oct 31 13:35:48 EST 2000
More information about the Python-list mailing list
Tue Oct 31 13:35:48 EST 2000
- Previous message (by thread): Tkinter problems
- Next message (by thread): garbage collection could force destructors?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi there I have a tkinter and Pmw program, which has 6 listboxes on a page. I am using grid to put them on, as there are a lot of buttons as well. However I couldn't find a way to make the listboxes expand and occupy the whole surface area available on the notebook page. I tried sticky=W+E+N+S . Is there a equivalent of pack(expand=1,fill='both') for grid! code below: nb=Pmw.NoteBook(root) p1=nb.Add(nb,"page 1") lb1=Pmw.ScrolledListBox(p1) lb2=Pmw.ScrolledListBox(p1) lb3=Pmw.ScrolledListBox(p1) lb4=Pmw.ScrolledListBox(p1) lb5=Pmw.ScrolledListBox(p1) lb1.grid(row=0,column=1) lb2.grid(row=1,column=1) lb3.grid(row=2,column=1) lb4.grid(row=3,column=1) lb5.grid(row=4,column=1) Thanks Sreekant -- A man needs to sleep for 36 hours a day atleast. Sent via Deja.com http://www.deja.com/ Before you buy.
- Previous message (by thread): Tkinter problems
- Next message (by thread): garbage collection could force destructors?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list