Skip to content

API Reference / @gtkx/testing / queryAllByLabelText

Variable: queryAllByLabelText

const queryAllByLabelText: (container, text, options?) => Gtk.Widget[]

Defined in: queries.d.ts:39

Finds every widget associated with a label whose text matches: a Gtk.Label mnemonic target, the widget's own accessible label, or its labelled-by relation.

Parameters

container

Container

Widget subtree to search.

text

Matcher

Matcher for the label text.

options?

MatcherOptions

Text matching options.

Returns

Gtk.Widget[]

Every matching widget, or an empty array when none match.

Released under the MPL-2.0 License.