Visual.getBestWithType

Get the best visual of the given @visual_type for the default GDK screen. Visuals with higher color depths are considered better. The return value should not be freed. %NULL may be returned if no visual has type @visual_type.

More...
class Visual
static
getBestWithType
(
GdkVisualType visualType
)

Parameters

visualType GdkVisualType

a visual type

Return Value

Type: Visual

best visual of the given type

Detailed Description

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

Meta