WidgetPath.iterHasClass

bool iterHasClass(int pos, string name)

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

Parameters

posposition to query, -1 for the path head
nameclass name

Returns

true if the class name is defined for the widget at pos