Function

Gdklist_visuals

Declaration [src]

GList*
gdk_list_visuals (
  void
)

Description [src]

Lists the available visuals for the default screen. (See gdk_screen_list_visuals()) A visual describes a hardware image data format. For example, a visual might support 24-bit color, or 8-bit color, and might expect pixels to be in a certain format.

Call g_list_free() on the return value when you’re finished with it.

Deprecated since:3.22

Use gdk_screen_list_visuals (gdk_screen_get_default ()).

Return value

Returns: A list of GdkVisual
 
a list of visuals; the list must be freed, but not its contents.
 The caller of the function takes ownership of the data container, but not the data inside it.