Package: gdk

Function gdk-visual-bits-per-rgb

Lambda List

gdk-visual-bits-per-rgb (visual)

Arguments

visual -- a gdk-visual object

Return Value

An integer with the number of significant bits per color value for visual.

Details

Returns the number of significant bits per red, green and blue value.

Warning

The gdk-visual-bits-per-rgb function has been deprecated since version 3.22 and should not be used in newly written code. Use the gdk-visual-red-pixel-details function and its variants to learn about the pixel layout of TrueColor and DirectColor visuals.
 

See also

2021-12-14