winfo screendepth
Gives the count of bits for each pixel of the screen.
winfo screendepth WINDOW
Description
ztk gives 24.
Returns
An integer.
Examples
% winfo screendepth .
24
Errors
% winfo screendepth
wrong # args: should be "winfo screendepth window"
-errorcode NONE
% winfo screendepth .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