Function

Gdk-3.0Gdkquery_visual_typesDeprecated 3.22

  • 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.

    Returns Gdk.VisualType[]

    since 3.22: Visual selection should be done using gdk_screen_get_system_visual() and gdk_screen_get_rgba_visual()