Visual.getBestWithBoth

Combines gdk_visual_get_best_with_depth() and gdk_visual_get_best_with_type().

class Visual
static
getBestWithBoth

Parameters

depth int

a bit depth

visualType GdkVisualType

a visual type

Return Value

Type: Visual

best visual with both depth and visual_type, or NULL if none. [transfer none]

Meta