WidgetPath.iterSetObjectName

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.

class WidgetPath
void
iterSetObjectName
(
int pos
,
string name
)

Parameters

pos int

position to modify, -1 for the path head

name string

object name to set or NULL to unset

Meta

Since

3.20