Hello, I work with python 2.5.2 and i use Tkinter for a gui app development. Platform with which i work is:- Linux version 2.6.9-67.ELsmp ( brewbuil...@hs20-bc1-5.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-8))**
#!/usr/local/bin/python #---------------------- from Tkinter import * import pdb import os import string import threading from tkFileDialog import * from tkMessageBox import * import sys main_w = Tk() main_w.resizable(width = False, height = False) #main_w.maxsize(width= 1000, height = 3000) print main_w.resizable() main_w.mainloop() In the above code the command main_w.resizable.... does not work. That means, the user can drag the window to a larger size but cannot make the same smaller. On printing: ------------- print main_w.resizable() i do get 0,0 as output! BUT, the resizable attribute works if i add the following line main_w.maxsize(width= 1000, height = 3000) where the values are random but should not be set to width = 0, height =0, in which case it (widget.resizable(width = False, height = False)) does not function. So is this a bug, or am i doing something wrong here ? :O Regards Thanks arms
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss