WidgetPath.iterHasName

Returns %TRUE if the widget at position @pos has the name @name, %FALSE otherwise.

class WidgetPath
bool
iterHasName
(
int pos
,
string name
)

Parameters

pos int

position to query, -1 for the path head

name string

a widget name

Return: %TRUE if the widget at @pos has this name

Meta