Method

GtkStyleProviderget_style_property

Declaration [src]

gboolean
gtk_style_provider_get_style_property (
  GtkStyleProvider* provider,
  GtkWidgetPath* path,
  GtkStateFlags state,
  GParamSpec* pspec,
  GValue* value
)

Description [src]

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

Available since:3.0

Parameters

path

Type: GtkWidgetPath

GtkWidgetPath to query.

The data is owned by the caller of the function.
state

Type: GtkStateFlags

State to query the style property for.

pspec

Type: GParamSpec

The GParamSpec to query.

The data is owned by the caller of the function.
value

Type: GValue

Return location for the property value.

The argument will be set by the function.
The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if the property was found and has a value, FALSE otherwise.