Function

GdkVisualget_best_depth

deprecated: 3.22 

Declaration [src]

gint
gdk_visual_get_best_depth (
  void
)

Description [src]

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.

Deprecated since: 3.22

Visual selection should be done using gdk_screen_get_system_visual() and gdk_screen_get_rgba_visual().

Return value

Type: gint

Best available depth.