Visual.getBestWithBoth

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

Detailed Description

Deprecated: Visual selection should be done using Screen.getSystemVisual and Screen.getRgbaVisual