About my projects, examples and tutorials
Gnome::Gtk4::T-styleprovider

Gnome::Gtk4::T-styleprovider

Constants§

GTK_STYLE_PROVIDER_PRIORITY_APPLICATION§

A priority that can be used when adding a Gnome::Gtk4::R-StyleProvider for application-specific style information.

GTK_STYLE_PROVIDER_PRIORITY_FALLBACK§

The priority used for default style information that is used in the absence of themes.

Note that this is not very useful for providing default styling for custom style classes - themes are likely to override styling provided at this priority with catch-all `* {...}` rules.

GTK_STYLE_PROVIDER_PRIORITY_SETTINGS§

The priority used for style information provided via Gnome::Gtk4::Settings.

This priority is higher than GTK_STYLE_PROVIDER_PRIORITY_THEME to let settings override themes.

GTK_STYLE_PROVIDER_PRIORITY_THEME§

The priority used for style information provided by themes.

GTK_STYLE_PROVIDER_PRIORITY_USER§

The priority used for the style information from `$XDG_CONFIG_HOME/gtk-4.0/gtk.css`.

You should not use priorities higher than this, to give the user the last word.