Enumeration (GI Enum)

Gtk-4.0GtkInterfaceColorSchemeSince 4.20

Values for the Gtk.Settings.gtk_interface_color_scheme and Gtk.CssProvider.prefers_color_scheme properties that indicates what color scheme is used.

This information can be used inside CSS via media queries.

More values may be added to this enumeration. Unknown values should be treated the same as GTK_INTERFACE_COLOR_SCHEME_DEFAULT.

4.20

Index
DARK: 2

A dark color scheme is used

DEFAULT: 1

The default color scheme is used

LIGHT: 3

A light color scheme is used

UNSUPPORTED: 0

The system doesn't support color schemes

Variables

$gtype