wm withdraw
Removes a toplevel from the screen.
wm withdraw WINDOW
Description
The window and its widgets stay, and wm deiconify shows the window again. wm state gives withdrawn.
Returns
An empty string.
Examples
% toplevel .t
> update
> wm withdraw .t
> update
> list [wm state .t] [winfo ismapped .t]
withdrawn 0
Errors
% wm withdraw .t x
wrong # args: should be "wm withdraw window"
-errorcode NONE
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1