Package: gtk

GEnum gtk:interface-color-scheme

Declaration

(gobject:define-genum "GtkInterfaceColorScheme" interface-color-scheme
  (:export t
   :type-initializer "gtk_interface_color_scheme_get_type")
  (:unsupported 0)
  (:default 1)
  (:dark 2)
  (:light 3))  

Values

:unsupported
The system does not support color schemes.
:default
The default color scheme is used.
:dark
A dark color scheme is used.
:light
A light color scheme is used.

Details

Values for the gtk-interface-color-scheme and 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 the :default value.

Since 4.20
 

See also

2025-11-08