Enumeration (GI Enum)

Gtk-4.0GtkInterfaceContrastSince 4.20

Values for the Gtk.Settings.gtk_interface_contrast and Gtk.CssProvider.prefers_contrast properties that indicates the preferred level of contrast.

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

4.20

Index
LESS: 3

Less contrast is preferred

MORE: 2

More contrast is preferred

NO_PREFERENCE: 1

No particular preference for contrast

UNSUPPORTED: 0

The system doesn't support contrast levels

Variables

$gtype