wm iconwindow
Gives or sets a widget to show as the icon of a toplevel.
wm iconwindow WINDOW ?WINDOW2?
Description
In Tk, the window manager shows WINDOW2 in place of the icon. With WINDOW2, sets the value. With no WINDOW2, gives it. ztk stores the value with no check and with no effect on the window.
Returns
The value, or an empty string.
Examples
% toplevel .t
> wm iconwindow .t .
> wm iconwindow .t
.
Errors
% wm iconwindow .t a b
wrong # args: should be "wm iconwindow window ?value?"
-errorcode NONE
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1