queryVisualTypes

fnvoid queryVisualTypes(out gdk.types.VisualType[] visualTypes)

This function returns the available visual types for the default screen. It’s equivalent to listing the visuals ([gdk.global.listVisuals]) and then looking at the type field in each visual, removing duplicates.

The array returned by this function should not be freed.

Parameters

visualTypesreturn location for the available visual types

Deprecated

Visual selection should be done using

[gdk.screen.Screen.getSystemVisual] and [gdk.screen.Screen.getRgbaVisual]