Visual.getBestWithDepth

Get the best visual with depth @depth for the default GDK screen. Color visuals and visuals with mutable colormaps are preferred over grayscale or fixed-colormap visuals. The return value should not be freed. %NULL may be returned if no visual supports @depth.

More...
class Visual
static
getBestWithDepth
(
int depth
)

Parameters

depth int

a bit depth

Return Value

Type: Visual

best visual for the given depth

Detailed Description

Deprecated: Visual selection should be done using gdk_screen_get_system_visual() and gdk_screen_get_rgba_visual()

Meta