get_bits_per_rgb


Description:

public int get_bits_per_rgb ()

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

Note:

Use get_red_pixel_details and its variants to learn about the pixel layout of TrueColor and DirectColor visuals

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

Parameters:

this

a Visual

Returns:

The number of significant bits per color value for this.