Method

GdkVisualget_bits_per_rgb

deprecated: 3.22. since: 2.22

Declaration [src]

gint
gdk_visual_get_bits_per_rgb (
  GdkVisual* visual
)

Description [src]

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

Not all GDK backend provide a meaningful value for this function.

Available since: 2.22

Deprecated since: 3.22.

Use gdk_visual_get_red_pixel_details() and its variants to learn about the pixel layout of TrueColor and DirectColor visuals.

Return value

Type: gint

The number of significant bits per color value for visual.