and visual_type, or null if none
Visual.getBestWithBoth
gdk.visual.Visual getBestWithBoth(int depth, gdk.types.VisualType visualType)Combines gdk.visual.Visual.getBestWithDepth and gdk.visual.Visual.getBestWithType.
Parameters
depth | a bit depth |
visualType | a visual type |
Returns
best visual with both depth
Deprecated
Visual selection should be done using
gdk.screen.Screen.getSystemVisual and gdk.screen.Screen.getRgbaVisual