Mailing List Archive

Tkinter: making a window unresizable (Win 95)
Hi,

Toplevels in Tkinter in Windows-95 come with
the resizing button on the upper-right corner,
next to the iconify and close buttons.

Even if I use resizable(0,0) method of the
Tkinter.Toplevel class, the resizing button
still persists. And when I click on it, although the
window now does not resize, it still flickers and
moves around. This is kind of annoying.

Is there a way of creating a non-resizable
Toplevel in Tkinter more easily? Namely, is there
a way to eliminate the resizing button completely?

regards,

HJ

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Tkinter: making a window unresizable (Win 95) [ In reply to ]
<hj_ka@my-dejanews.com> wrote:
> Toplevels in Tkinter in Windows-95 come with
> the resizing button on the upper-right corner,
> next to the iconify and close buttons.
>
> Even if I use resizable(0,0) method of the
> Tkinter.Toplevel class, the resizing button
> still persists. And when I click on it, although the
> window now does not resize, it still flickers and
> moves around. This is kind of annoying.
>
> Is there a way of creating a non-resizable
> Toplevel in Tkinter more easily? Namely, is there
> a way to eliminate the resizing button completely?

not sure, but I think this has been fixed in a recent
version of Tk (8.0.5? 8.1b3?).

</F>