Warning: query_visual_types is deprecated since 3.22.
This function returns the available visual types for the default screen.
Visual selection should be done using get_system_visual and get_rgba_visual
It’s equivalent to listing the visuals (list_visuals) and then looking at the type field in each visual, removing duplicates.
The array returned by this function should not be freed.
visual_types |
return location for the available visual types |
count |
return location for the number of available visual types |