winfo vrootx
Gives the x offset of the virtual root window of a widget.
winfo vrootx WINDOW
Description
ztk has no virtual root window, so the result is 0.
Returns
An integer.
Examples
% winfo vrootx .
0
Errors
% winfo vrootx
wrong # args: should be "winfo vrootx window"
-errorcode NONE
% winfo vrootx .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