iter_set_object_name


Description:

[ Version ( since = "3.20" ) ]
public void iter_set_object_name (int pos, string? name)

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

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

Parameters:

this

a WidgetPath

pos

position to modify, -1 for the path head

name

object name to set or null to unset