beetlebug▾
/

wm iconname

Gives or sets the name under the icon of a toplevel.

wm iconname WINDOW ?NAME?

Description

The text that the platform shows with the icon of the window. With NAME, sets the value. With no NAME, 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 iconname .t Notes
> wm iconname .t
Notes

Errors

% wm iconname .t a b
wrong # args: should be "wm iconname window ?value?"
-errorcode NONE

Facts

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