Method

GtkStyleContextget_style_property

Declaration [src]

void
gtk_style_context_get_style_property (
  GtkStyleContext* context,
  const gchar* property_name,
  GValue* value
)

Description [src]

Gets the value for a widget style property.

When value is no longer needed, g_value_unset() must be called to free any allocated memory.

Parameters

property_name

Type: const gchar*

The name of the widget style property.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
value

Type: GValue

Return location for the property value.

The data is owned by the caller of the function.