StyleProperties


Object Hierarchy:

Gtk.StyleProperties Gtk.StyleProperties Gtk.StyleProperties GLib.Object GLib.Object GLib.Object->Gtk.StyleProperties Gtk.StyleProvider Gtk.StyleProvider Gtk.StyleProvider->Gtk.StyleProperties

Description:

[ CCode ( type_id = "gtk_style_properties_get_type ()" ) ]
public class StyleProperties : Object, StyleProvider

GtkStyleProperties provides the storage for style information that is used by StyleContext and other StyleProvider implementations.

Before style properties can be stored in GtkStyleProperties, they must be registered with register_property.

Unless you are writing a StyleProvider implementation, you are unlikely to use this API directly, as @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 ThemingEngine instead.

StyleProperties has been deprecated in GTK 3.16. The CSS machinery does not use it anymore and all users of this object have been deprecated.


Namespace: Gtk
Package: gtk+-3.0

Content:

Static methods:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object
All known members inherited from interface Gtk.StyleProvider



2022 vala-language.org