StyleProviderIF

GtkStyleProvider is an interface used to provide style information to a GtkStyleContext. See gtk_style_context_add_provider() and gtk_style_context_add_provider_for_screen().

Members

Functions

getIconFactory
IconFactory getIconFactory(WidgetPath path)

Warning gtk_style_provider_get_icon_factory has been deprecated since version 3.8 and should not be used in newly-written code. Will always return NULL for all GTK-provided style providers. Returns the GtkIconFactory defined to be in use for path, or NULL if none is defined.

getStruct
void* getStruct()

the main Gtk struct as a void*

getStyle
StyleProperties getStyle(WidgetPath path)

Warning gtk_style_provider_get_style has been deprecated since version 3.8 and should not be used in newly-written code. Will always return NULL for all GTK-provided style providers as the interface cannot correctly work the way CSS is specified. Returns the style settings affecting a widget defined by path, or NULL if provider doesn't contemplate styling path.

getStyleProperty
int 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.

getStyleProviderTStruct
GtkStyleProvider* getStyleProviderTStruct()

Get the main Gtk struct

Meta