Skip to content

API Reference / @gtkx/testing / queryAllByName

Variable: queryAllByName

const queryAllByName: (container, name, options?) => Gtk.Widget[]

Defined in: queries.d.ts:55

Finds every widget whose widget name matches.

Parameters

container

Container

Widget subtree to search.

name

Matcher

Matcher for the widget name.

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.