wm command
Gives or sets the command that starts the application, for a session manager.
wm command WINDOW ?COMMAND?
Description
A property of X11 for session managers. With COMMAND, sets the value. With no COMMAND, 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 command .t {prog -x}
> wm command .t
prog -x
Errors
% wm command .t a b
wrong # args: should be "wm command window ?value?"
-errorcode NONE
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1