Visual.getBestDepth

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.

More...
class Visual
static
int
getBestDepth
()

Detailed Description

Deprecated: Visual selection should be done using gdk_screen_get_system_visual() and gdk_screen_get_rgba_visual()

Return: best available depth

Meta