I have a program which creates a window where a message is displayed according to a check box.
How can I make the window size constant when the message is displayed
Traceback (most recent call last):
File "tkwindowwithlabel5.py", line 23, in
main()
File "tkwindowwithlabel5.py", line 16, in main
window.resizeable(width = True, height =True)
File "/usr/lib/python3.4/tkinter/__init__.py", line 1935, in
__getattr__
return getattr(self.tk, attr)
AttributeError: 'tkapp' object has no attribute 'resizeable'
is what you will get with the first answer. tk does support min and max size
window.minsize(width = X, height = x)
window.maxsize(width = X, height = x)
i figured it out but just trying the first one. using python3 with tk.