beetlebug▾
/

wm iconbitmap

Gives or sets a bitmap for the icon of a toplevel.

wm iconbitmap WINDOW ?BITMAP?

Description

A bitmap name of Tk, such as info, or @FILE. 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 iconbitmap .t info
> wm iconbitmap .t
info

Errors

ztk stores each value with no check.

Facts

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