RGtk2 (version 2.20.31)

gdkVisualGetBestWithDepth: gdkVisualGetBestWithDepth

Description

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.

Usage

gdkVisualGetBestWithDepth(depth)

Arguments

depth
a bit depth

Value

GdkVisual] best visual for the given depth. [ transfer none ]