Compilation Units
Tagged Types
An interface for style information used by [classGtk.StyleContext].
See [methodGtk.StyleContext.add_provider] and [funcGtk.StyleContext.add_provider_for_display] for adding GtkStyleProviders.
GTK uses the GtkStyleProvider implementation for CSS in [classGtk.CssProvider].
function "+" (W : Gtk_Style_Provider) return Gtk_Style_Provider
function Get_Type return Glib.GType
type Gtk_Style_Provider is new Glib.Types.GType_Interface;
Null_Gtk_Style_Provider : constant Gtk_Style_Provider;
subtype Priority is Glib.Guint;
Priority_Application : constant Priority := 600;
Used for application-specific style information.
Priority_Fallback : constant Priority := 1;
Used when no theme is defined.
Priority_Settings : constant Priority := 400;
Used for style information provided via Gtk.Settings.
Priority_Theme : constant Priority := 200;
Used for style information provided by the theme.
Priority_User : constant Priority := 800;
Used for style information from ~/.config/gtk-4.0/gtk.css.
Signal_Gtk_Private_Changed : constant Glib.Signal_Name := "gtk-private-changed";
Callback for this signal: procedure Handler (Self : Gtk_Style_Provider)