pub fn list_visuals() -> Vec<Visual>
Expand description

Lists the available visuals for the default screen. (See 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 ()).

Returns

a list of visuals; the list must be freed, but not its contents