StyleProviderT

GtkStyleProvider is an interface used to provide style information to a gtk.StyleContext See Style.contextAddProvider and Style.contextAddProviderForScreen.

Members

Functions

getIconFactory
IconFactory getIconFactory(WidgetPath path)

Returns the gtk.IconFactory defined to be in use for path, or NULL if none is defined.

getStyle
StyleProperties getStyle(WidgetPath path)

Returns the style settings affecting a widget defined by path, or NULL if provider doesn’t contemplate styling path.

getStyleProperty
bool getStyleProperty(WidgetPath path, GtkStateFlags state, ParamSpec pspec, Value value)

Looks up a widget style property as defined by provider for the widget represented by path.

getStyleProviderStruct
GtkStyleProvider* getStyleProviderStruct(bool transferOwnership)

Get the main Gtk struct