Package: gdk

Function gdk-visual-best-with-depth

Lambda List

gdk-visual-best-with-depth (depth)

Arguments

depth -- an integer with the bit depth

Return Value

The best gdk-visual object for the given depth.

Details

Get the best visual with depth for the default GDK screen. Color visuals and visuals with mutable colormaps are preferred over grayscale or fixed-colormap visuals. Nil may be returned if no visual supports depth.

Warning

The gdk-visual-best-with-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