Method

GtkWidgetPathiter_list_classes

since: 3.0

Declaration [src]

GSList*
gtk_widget_path_iter_list_classes (
  const GtkWidgetPath* path,
  gint pos
)

Description [src]

Returns a list with all the class names defined for the widget at position pos in the hierarchy defined in path.

Available since: 3.0

Parameters

pos

Type: gint

Position to query, -1 for the path head.

Return value

Type: A list of utf8

The list of classes, This is a list of strings, the GSList contents are owned by GTK+, but you should use g_slist_free() to free the list itself.

The caller of the method takes ownership of the returned data container, but not the data inside it.
Each element is a NUL terminated UTF-8 string.