[Tutor] Tix NoteBook programming problem
Michael Lange
klappnase at freenet.de
Tue Dec 21 21:28:40 CET 2004
On Tue, 21 Dec 2004 14:16:56 +0900
Guillermo Fernandez Castellanos <guillermo.fernandez.castellanos at gmail.com> wrote:
Hi Guille,
thats a classic case of geometry manager conflicts.
You dont need to pack the notebook pages explicitely, tix does this
automagically for you and *tix does not use pack()*, so when
you try to pack() the pages with
> hd.pack()
> gf.pack()
tix doesnt know what to do; by the way, instead of writing
> nb.add('hd',label="hard disk",underline=0)
> hd = nb.subwidget('hd')
you can simply do:
hd = nb.add('hd',label="hard disk",underline=0)
I hope this helps
Michael
More information about the Tutor
mailing list