Function

GdkVisualget_best

deprecated: 3.22 

Declaration [src]

GdkVisual*
gdk_visual_get_best (
  void
)

Description [src]

Get the visual with the most available colors for the default GDK screen. The return value should not be freed.

Deprecated since: 3.22

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

Return value

Type: GdkVisual

Best visual.

The data is owned by the called function.