Skip to main content

Function: queryAllByRole()

queryAllByRole(container, role, options?): Widget[]

Defined in: queries.ts:111

Finds all elements matching a role without throwing.

Parameters

ParameterTypeDescription
containerContainerThe container to search within
roleAccessibleRoleThe GTK accessible role to match
options?ByRoleOptionsQuery options including name and state filters

Returns

Widget[]

Array of matching widgets (empty if none found)