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 const gchar*
 

The name of the widget style property.

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

Return location for the property value.

 The data is owned by the caller of the function.