UI module

find_role

procedure · 1 overloadsince 0.31.0Source

The nth node with this role.

find_role :: (ui: *UI_State, role: Role, index: int = 0) -> *Node

The nth node with this role.

Parameters

ui: *UI_State
the UI to search.
role: Role
the role to match.
index: int
which match to take, from 0.

Returns

See also