Skip to content

Prevent a Tkinter window from being resized

To disable the resize of a Tkinter window, call the resizable function and set the parameters width and height to false:

root = tk.Tk()
root.resizable(width=False, height=False)


One Comment

  1. coarist coarist

    Useful for me. Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.