beetlebug▾
/

wm client

Gives or sets the name of the host of the application, for the window manager.

wm client WINDOW ?NAME?

Description

A property of X11 for session managers. 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 client .t host1
> wm client .t
host1

Errors

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

Facts

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