beetlebug▾
/

winfo vrootheight

Gives the height of the virtual root window of a widget.

winfo vrootheight WINDOW

Description

ztk has no virtual root window, so the result is the height of the screen.

Returns

An integer.

Examples

% expr {[winfo vrootheight .] == [winfo screenheight .]}
1

Errors

% winfo vrootheight
wrong # args: should be "winfo vrootheight window"
-errorcode NONE

% winfo vrootheight .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