StyleProvider

GtkStyleProvider is an interface used to provide style information to a #GtkStyleContext. See gtk.style_context.StyleContext.addProvider and gtk.style_context.StyleContext.addProviderForScreen.

Members

Functions

getIconFactory
gtk.icon_factory.IconFactory getIconFactory(gtk.widget_path.WidgetPath path)

Returns the #GtkIconFactory defined to be in use for path, or null if none is defined.

getStyle
gtk.style_properties.StyleProperties getStyle(gtk.widget_path.WidgetPath path)

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

getStyleProperty
bool getStyleProperty(gtk.widget_path.WidgetPath path, gtk.types.StateFlags state, gobject.param_spec.ParamSpec pspec, gobject.value.Value value)

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

Static functions

_getGType
GType _getGType()