- (tk/wm 'maxsize #<widget> ?width height?)
- If width and height are specified, they give the maximum 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 less 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 maximum width and height currently in effect. The maximum size defaults to the size of the screen. 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
|