winfo screen
Gives the name of the screen of a widget.
winfo screen WINDOW
Description
The name has the form of X11, DISPLAY.SCREEN, such as :0.0.
Returns
A screen name.
Examples
% string match *.* [winfo screen .]
1
Errors
% winfo screen
wrong # args: should be "winfo screen window"
-errorcode NONE
% winfo screen .nope
bad window path name ".nope"
-errorcode NONE
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1