Object Hierarchy:

Object hierarchy for StyleProperties


[ 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


Static methods:

Creation methods:


Inherited Members:

All known members inherited from interface Gtk.StyleProvider