WidgetPath.iterSetObjectName

void iterSetObjectName(int pos, string name = null)

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.

Parameters

posposition to modify, -1 for the path head
nameobject name to set or null to unset