Visual.queryDepths

This function returns the available bit depths for the default screen. It's equivalent to listing the visuals (gdk_list_visuals()) and then looking at the depth field in each visual, removing duplicates. The array returned by this function should not be freed.

class Visual
static
void
queryDepths
(
out int[] depths
)

Parameters

depths int[]

return location for available depths. out[array length=count][transfer none]

Meta