Package: gtk

Accessor gtk:settings-gtk-application-prefer-dark-theme

Lambda List

gtk:settings-gtk-application-prefer-dark-theme (object)

Syntax

(gtk:settings-gtk-application-prefer-dark-theme object) => setting
(setf (gtk:settings-gtk-application-prefer-dark-theme object) setting)

Arguments

object -- a gtk:settings object
setting -- a boolean whether the application prefers to use a dark theme

Details

The accessor for the gtk-application-prefer-dark-theme slot of the gtk:settings class gets or sets whether the application prefers to use a dark theme. If a GTK theme includes a dark variant, it will be used instead of the configured theme.

Warning

This property is deprecated since 4.20. Use gtk:css-provider properties instead.
 

See also

2025-11-08