InterfaceContrast#

Added in version 4.20.

class InterfaceContrast#

Values for the gtk_interface_contrast and 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.

Fields#

class InterfaceContrast
LESS#

Less contrast is preferred

MORE#

More contrast is preferred

NO_PREFERENCE#

No particular preference for contrast

UNSUPPORTED#

The system doesn’t support contrast levels