wm iconmask
Gives or sets a bitmap for the shape of the icon of a toplevel.
wm iconmask WINDOW ?BITMAP?
Description
A bitmap name of Tk, such as info. With BITMAP, sets the value. With no BITMAP, 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 iconmask .t info
> wm iconmask .t
info
Errors
% wm iconmask .t a b
wrong # args: should be "wm iconmask window ?value?"
-errorcode NONE
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1