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

Meta