Package: gdk

Function gdk-visual-best-depth

Lambda List

gdk-visual-best-depth ()

Return Value

An integer with the best available depth.

Details

Get the best available depth for the default GDK screen. "Best" means "largest", i.e. 32 preferred over 24 preferred over 8 bits per pixel.

Warning

The gdk-visual-best-depth function has been deprecated since version 3.22 and should not be used in newly written code. Visual selection should be done using the gdk-screen-system-visual and gdk-screen-rgba-visual functions.
 

See also

2021-12-14