tk/wm resizable

(tk/wm 'resizable #<widget> ?width height?)
This command controls whether or not the user may interactively resize a top-level window. If width and height are specified, they are boolean values that determine whether the width and height of #<widget> may be modified by the user. In this case the command returns an empty string. If width and height are omitted then the command returns a list with two 0/1 elements that indicate whether the width and height of #<widget> are currently resizable. By default, windows are resizable in both dimensions. If resizing is disabled, then the #<widget>'s size will be the size from the most recent interactive resize or tk/wm geometry command. If there has been no such operation then the #<widget>'s natural size will be used.

© Author | Home | Sitemap