API Reference / @gtkx/testing / queryAllByRole
Variable: queryAllByRole
constqueryAllByRole: (container,role,options?) =>Gtk.Widget[]
Defined in: queries.d.ts:31
Finds every widget under the container whose accessible role matches role and that satisfies the given options. Widgets excluded from the accessibility tree are skipped unless options.hidden is set.
Parameters
container
Widget subtree to search.
role
Gtk.AccessibleRole
Accessible role to match.
options?
Additional accessible name, state, and value constraints.
Returns
Gtk.Widget[]
Every matching widget, or an empty array when none match.