tk/wm sizefrom

(tk/wm 'sizefrom #<widget> ?who?)
If who is specified, it must be either program or user, or an abbreviation of one of these two. It indicates whether #<widget>'s current size was requested by the program or by the user. Some window managers ignore program-requested sizes and ask the user to manually size the #<widget>; if user is specified then the window manager should give the window its specified size without asking the user for assistance. If who is specified as an empty string, then the current size source is cancelled. If who is specified, then the command returns an empty string. Otherwise it returns user or window to indicate the source of the window's current size, or an empty string if no source has been specified yet. Most window managers interpret ``no source'' as equivalent to program.

© Author | Home | Sitemap