beetlebug▾
/

wm iconify

Makes a toplevel an icon.

wm iconify WINDOW

Description

A backend with icons, such as X11, minimizes the window. The headless backend and the direct backend have no icons: the window stays, and wm state gives iconic.

Returns

An empty string.

Examples

% toplevel .t
> wm iconify .t
> wm state .t
iconic

Errors

% wm iconify .t x
wrong # args: should be "wm iconify window"
-errorcode NONE

Facts

Capability
None.
Tcl release
Tcl 9.1 and 8.6.
Since
ztk 1.0.0-beta.1