Windows size problem with Tkinter

Rodolphe robloche at fr.st
Sat Nov 2 20:02:26 EST 2002


Hi everybody,

I wrote three progs in Python/Tkinter and they all work very well
_separatly_. I said separatly because if one of them is running and if
I try to run another one, its window is reduced to a little square and
I only can see a little bit of the top left of the GUI. 

At the beginning of my three progs, I set up the GUI (labels, buttons,
entries, etc.) and call a function "center_widget()" that fixes the
size of the window (width_min = width_max = current_width, same for
the height) and then centers it on the screen. That's the only thing I
see that can produce that strange behaviour... 

I'm using Python 2.2 under Linux Mandrake 8.

Thanks for your help...

--
Rodolphe



More information about the Python-list mailing list