Function
GdkVisualget_best_with_both
deprecated: 3.22
Declaration [src]
GdkVisual*
gdk_visual_get_best_with_both (
gint depth,
GdkVisualType visual_type
)
Description [src]
Combines gdk_visual_get_best_with_depth() and gdk_visual_get_best_with_type().
Deprecated since: 3.22
Visual selection should be done using
gdk_screen_get_system_visual() and gdk_screen_get_rgba_visual().
Parameters
depth-
Type:
gintA bit depth.
visual_type-
Type:
GdkVisualTypeA visual type.
Return value
Type: GdkVisual
Best visual with both depth
and visual_type, or NULL if none.
| The data is owned by the called function. |
The return value can be NULL. |