Gtk.StyleProperties
const Gtk = imports.gi.Gtk; let style_properties = new Gtk.StyleProperties();
GtkStyleProperties provides the storage for style information that is used by Gtk.StyleContext and other Gtk.StyleProvider implementations.
Before style properties can be stored in GtkStyleProperties, they must be registered with Gtk.register_property.
Unless you are writing a Gtk.StyleProvider implementation, you are unlikely to use this API directly, as Gtk.get and its variants are the preferred way to access styling information from widget implementations and theming engine implementations should use the APIs provided by Gtk.ThemingEngine instead.
Hierarchy
-
GObject.Object
- Gtk.StyleProperties