WidgetPath.iterHasName

bool iterHasName(int pos, string name)

Returns true if the widget at position pos has the name name, false otherwise.

Parameters

posposition to query, -1 for the path head
namea widget name

Returns

true if the widget at pos has this name