beetlebug▾
/

winfo screenmmheight

Gives the height of the screen in millimeters.

winfo screenmmheight WINDOW

Description

The value comes from the size in pixels and the pixels for each millimeter of ztk.

Returns

An integer.

Examples

% expr {[winfo screenmmheight .] > 0}
1

Errors

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

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