beetlebug▾
/

winfo visual

Gives the class of the visual of a widget.

winfo visual WINDOW

Description

ztk gives truecolor.

Returns

A visual class.

Examples

% winfo visual .
truecolor

Errors

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

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