Method

GtkStyleContextset_path

since: 3.0

Declaration [src]

void
gtk_style_context_set_path (
  GtkStyleContext* context,
  GtkWidgetPath* path
)

Description [src]

Sets the GtkWidgetPath used for style matching. As a consequence, the style will be regenerated to match the new given path.

If you are using a GtkStyleContext returned from gtk_widget_get_style_context(), you do not need to call this yourself.

Available since: 3.0

Parameters

path

Type: GtkWidgetPath

A GtkWidgetPath.

The data is owned by the caller of the method.