winfo visualsavailable
Gives the visuals of the screen of a widget.
winfo visualsavailable WINDOW ?includeids?
Description
Each element is the class of a visual and its depth. ztk has one visual, truecolor with the depth 24. ztk gives no identifiers for includeids, and accepts any word in its place.
Returns
A list of visuals.
Examples
% winfo visualsavailable .
{truecolor 24}
Errors
% winfo visualsavailable
wrong # args: should be "winfo visualsavailable window ?includeids?"
-errorcode TCL WRONGARGS
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1