Method

GtkStyleContextset_parent

since: 3.4

Declaration [src]

void
gtk_style_context_set_parent (
  GtkStyleContext* context,
  GtkStyleContext* parent
)

Description [src]

Sets the parent style context for context. The parent style context is used to implement inheritance of properties.

If you are using a GtkStyleContext returned from gtk_widget_get_style_context(), the parent will be set for you.

Available since: 3.4

Parameters

parent

Type: GtkStyleContext

The new parent or NULL.

The argument can be NULL.
The data is owned by the caller of the method.