since: 2.2

Declaration [src]

gdk_screen_list_visuals (
  GdkScreen* screen

Description [src]

Lists the available visuals for the specified screen. 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.

Available since: 2.2

Return value

Type: A list of GdkVisual*

a list of visuals; the list must be freed, but not its contents.
The caller of the method takes ownership of the returned data container, but not the data inside it.