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

Enumeration Members

Enumeration Members

LESS: number

Less contrast is preferred

MORE: number

More contrast is preferred

NO_PREFERENCE: number

No particular preference for contrast

UNSUPPORTED: number

The system doesn't support contrast levels