tk/wm transient

(tk/wm 'transient #<widget> ?master?)
If master is specified, then the window manager is informed that #<widget> is a transient window (e.g. pull-down menu) working on behalf of master (where master is the top-level window). If master is specified as an empty string then #<widget> is marked as not being a transient window any more. Otherwise the command returns the path name of #<widget>'s current master, or an empty string if window isn't currently a transient window. A transient window will mirror state changes in the master and inherit the state of the master when initially mapped. It is an error to attempt to make a window a transient of itself.

© Author | Home | Sitemap