get_best_with_both


Description:

public static unowned Visual get_best_with_both (int depth, VisualType visual_type)

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