RGtk2 (version 2.20.31)

gdkVisualGetBestWithType: gdkVisualGetBestWithType

Description

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.

Usage

gdkVisualGetBestWithType(visual.type)

Arguments

visual.type
a visual type

Value

GdkVisual] best visual of the given type. [ transfer none ]