tk/wm minsize

(tk/wm 'minsize #<widget> ?width height?)
If width and height are specified, they give the minimum permissible dimensions for #<widget>. For gridded windows the dimensions are specified in grid units; otherwise they are specified in pixel units. The window manager will restrict the #<widget>'s dimensions to be greater than or equal to width and height. If width and height are specified, then the command returns an empty string. Otherwise it returns a Tcl list with two elements, which are the minimum width and height currently in effect. The minimum size defaults to one pixel in each dimension. If resizing has been disabled with the tk/wm resizable command, then this command has no effect. See the sections on geometry management below for more information.

© Author | Home | Sitemap