WidgetPath.iterHasClass

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

class WidgetPath
bool
iterHasClass
(
int pos
,
string name
)

Parameters

pos int

position to query, -1 for the path head

name string

class name

Return Value

Type: bool

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