gdk.screen.Screen.getSystemVisual and gdk.screen.Screen.getRgbaVisual
queryDepths
fn
void queryDepths(out int[] depths)This function returns the available bit depths for the default screen. It’s equivalent to listing the visuals (gdk.global.listVisuals) and then looking at the depth field in each visual, removing duplicates.
The array returned by this function should not be freed.
Parameters
depths | return location for available depths |
Deprecated
Visual selection should be done using