tk/wm attributes

(tk/wm 'attributes #<widget>), (tk/wm 'attributes #<widget> ?option?), (tk/wm 'attributes #<widget> ?option value option value...?)
This subcommand returns or sets platform specific attributes associated with #<widget>.

The first form returns a list of the platform specific flags and their values.

The second form returns the value for the specific option.

The third form sets one or more of the values. The values are as follows:

On Windows, #:disabled gets or sets whether the window is in a disabled state.

#:toolwindow gets or sets the style of the window to toolwindow (as defined in the MSDN).

#:topmost gets or sets whether this is a topmost window (displays above all other windows).


© Author | Home | Sitemap