get_best_with_type
Description:
[ Version ( deprecated = true , deprecated_since = "3.22" ) ]
public static unowned Visual get_best_with_type (VisualType visual_type)
public static unowned Visual get_best_with_type (VisualType visual_type)
Warning: get_best_with_type is deprecated since 3.22.
Get the best visual of the given visual_type
for the default GDK screen.
Note:
Visual selection should be done using get_system_visual and get_rgba_visual
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
.
Parameters:
visual_type |
a visual type |
Returns:
best visual of the given type |