Package: gtk

GEnum gtk:interface-contrast

Declaration

(gobject:define-genum "GtkInterfaceContrast" interface-contrast
  (:export t
   :type-initializer "gtk_interface_contrast_get_type")
  (:unsupported 0)
  (:no-preference 1)
  (:more 2)
  (:less 3))  

Values

:unsupported
The system does not support contrast levels.
:no-preference
No particular preference for contrast.
:more
More contrast is preferred.
:less
Less contrast is preferred.

Details

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 the :no-preference value.

Since 4.20
 

See also

2025-11-08