get_best_depth


Description:

[ Version ( deprecated = true , deprecated_since = "3.22" ) ]
public static int get_best_depth ()

Warning: get_best_depth is deprecated since 3.22.

Get the best available depth for the default GDK screen.

Note:

Visual selection should be done using get_system_visual and get_rgba_visual

“Best” means “largest,” i.e. 32 preferred over 24 preferred over 8 bits per pixel.

Returns:

best available depth