Declaration [src]

gtk_widget_path_iter_set_object_name (
  GtkWidgetPath* path,
  gint pos,
  const char* name

Description [src]

Sets the object name for a given position in the widget hierarchy defined by path.

When set, the object name overrides the object type when matching CSS.

Available since:3.20


pos gint

Position to modify, -1 for the path head.

name const char*

Object name to set or NULL to unset.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.