Visual.getBestType

gdk.types.VisualType getBestType()

Return the best available visual type for the default GDK screen.

Returns

best visual type

Deprecated

Visual selection should be done using

[gdk.screen.Screen.getSystemVisual] and [gdk.screen.Screen.getRgbaVisual]