Package: gdk

Function gdk:query-visual-types

Lambda List

gdk:query-visual-types ()

Return Value

A list of the available visual types of type gdk:visual-type.

Details

This function returns the available visual types for the default screen. It is equivalent to listing the visuals with the gdk:list-visuals function and then looking at the type field in each visual, removing duplicates.

Warning

The gdk:query-visual-types function has been deprecated since version 3.22 and should not be used in newly written code. Visual selection should be done using the gdk:screen-system-visual and gdk:screen-rgba-visual functions.
 

See also

2024-6-28