Function
GdkVisualget_best_with_type
deprecated: 3.22
Declaration [src]
GdkVisual*
gdk_visual_get_best_with_type (
GdkVisualType visual_type
)
Description [src]
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.
Deprecated since: 3.22
Visual selection should be done using
gdk_screen_get_system_visual() and gdk_screen_get_rgba_visual().
Parameters
visual_type-
Type:
GdkVisualTypeA visual type.
Return value
Type: GdkVisual
Best visual of the given type.
| The data is owned by the called function. |