Method

GtkWidgetPathiter_add_class

since: 3.0

Declaration [src]

void
gtk_widget_path_iter_add_class (
  GtkWidgetPath* path,
  gint pos,
  const gchar* name
)

Description [src]

Adds the class name to the widget at position pos in the hierarchy defined in path. See gtk_style_context_add_class().

Available since: 3.0

Parameters

pos

Type: gint

Position to modify, -1 for the path head.

name

Type: const gchar*

A class name.

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