beetlebug▾
/

winfo reqheight

Gives the height that a widget asks for, in pixels.

winfo reqheight WINDOW

Description

The height that the widget needs for its content and its options, such as -height. A geometry manager can give the widget another height.

Returns

An integer.

Examples

% frame .rh -height 25
> winfo reqheight .rh
25

Errors

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

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