beetlebug▾
/

winfo screencells

Gives the count of cells in the default colormap of the screen.

winfo screencells WINDOW

Description

ztk has no colormap. The result is 256.

Returns

An integer.

Examples

% winfo screencells .
256

Errors

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

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