Virtual Method

GtkStyleProviderget_style_property

since: 3.0

Declaration [src]

gboolean
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 method.
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 method.
value

Type: GValue

Return location for the property value.

The argument will be set by the function.
The returned data is owned by the instance.

Return value

Type: gboolean

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