Visual.queryVisualTypes

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

The array returned by this function should not be freed.

More...
class Visual
static
void
queryVisualTypes

Parameters

visualTypes GdkVisualType[]

return location for the available visual types

Detailed Description

Deprecated: Visual selection should be done using Screen.getSystemVisual and Screen.getRgbaVisual