get_best_with_both


Description:

[ Version ( deprecated = true , deprecated_since = "3.22" ) ]
public static unowned Visual? get_best_with_both (int depth, VisualType visual_type)

Warning: get_best_with_both is deprecated since 3.22.

Combines get_best_with_depth and get_best_with_type.

Note:

Visual selection should be done using get_system_visual and get_rgba_visual

Parameters:

depth

a bit depth

visual_type

a visual type

Returns:

best visual with both depth and visual_type, or null if none