module
Gtk::StyleProvider
Overview
Gtk::StyleProvider is an interface for style information used by
Gtk::StyleContext.
See Gtk::StyleContext#add_provider and
Gtk::StyleContext#add_provider_for_display for
adding Gtk::StyleProviders.
GTK uses the Gtk::StyleProvider implementation for CSS in
Gtk::CssProvider.
Direct including types
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/style_provider.crConstructors
-
.cast(obj : GObject::Object) : self
Cast a
GObject::Objecttoself, throws aTypeCastErrorif the cast can't be made.
Class Method Summary
Instance Method Summary
Constructor Detail
Cast a GObject::Object to self, throws a TypeCastError if the cast can't be made.