[Tutor] How to disable Resizing in Tkinter.

Blake.Garretson@dana.com Blake.Garretson@dana.com
Tue, 4 Sep 2001 13:28:23 -0400


If you created your window with the command:
root = Tk()
then the following line will disable resizing:
root.resizable(0,0)

This tells the window that it it can't be resized in the x or y direction.

-Blake Garretson

>From: "Ajaya Babu" <ajaya@ncoretech.com>:
>Dear All,
>
>I have one problem. I am developing GUI using Tkinter. I've this problem
>
>I've a fixed layout. If i try to maximize and resize it is looking ugly.
So
>I would like to disable the resizing option.
>
>can any one kindly suggest some thig to fix this problem.
>
>Thanks ana Regards,
>Ajaya babu