Re: tkInter constraining the width only

2009-01-06 Thread akineko
Hello Roger, Thank you for your prompt response to my posting. Yes, it worked. I never thought of putting 0! A special trick not mentioned in the documentation. Thanks! Aki- On Dec 29, 1:01 pm, Roger wrote: > You want to set the max height to 0. I know this is counter- > intuitive. -- http://

Re: tkInter constraining the width only

2008-12-29 Thread Roger
On Dec 29, 3:23 pm, akineko wrote: > Hello everyone, > > I'm writing a Tkinter program and trying to constraint the window > size. > I want to set the minimum of the width and the height and the maximum > of the width, but not the height. You want to set the max height to 0. I know this is count

tkInter constraining the width only

2008-12-29 Thread akineko
Hello everyone, I'm writing a Tkinter program and trying to constraint the window size. I want to set the minimum of the width and the height and the maximum of the width, but not the height. I can use minsize(width=min_width, height=min_height) from Wm method to limit the minimum sizes. Similarly