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