[ Version ( deprecated = true , deprecated_since = "3.22" ) ]
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.
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
.
visual_type |
a visual type |
best visual of the given type |