Visual.getBestWithBoth

class Visual
static
getBestWithBoth

Parameters

depth int

a bit depth

visualType gdk.types.VisualType

a visual type

Return Value

Type: gdk.visual.Visual

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

Detailed Description

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