Skip to main content

Type Alias: BoundQueries

BoundQueries = object

Defined in: types.ts:98

Query methods bound to a container.

See

Properties

findAllByLabelText()

findAllByLabelText: (text, options?) => Promise<Gtk.Widget[]>

Defined in: types.ts:126

Find all elements by label/text content (waits and throws if none found)

Parameters

ParameterType
textTextMatch
options?TextMatchOptions

Returns

Promise<Gtk.Widget[]>


findAllByRole()

findAllByRole: (role, options?) => Promise<Gtk.Widget[]>

Defined in: types.ts:124

Find all elements by accessible role (waits and throws if none found)

Parameters

ParameterType
roleGtk.AccessibleRole
options?ByRoleOptions

Returns

Promise<Gtk.Widget[]>


findAllByTestId()

findAllByTestId: (testId, options?) => Promise<Gtk.Widget[]>

Defined in: types.ts:130

Find all elements by test ID (waits and throws if none found)

Parameters

ParameterType
testIdTextMatch
options?TextMatchOptions

Returns

Promise<Gtk.Widget[]>


findAllByText()

findAllByText: (text, options?) => Promise<Gtk.Widget[]>

Defined in: types.ts:128

Find all elements by visible text (waits and throws if none found)

Parameters

ParameterType
textTextMatch
options?TextMatchOptions

Returns

Promise<Gtk.Widget[]>


findByLabelText()

findByLabelText: (text, options?) => Promise<Gtk.Widget>

Defined in: types.ts:118

Find single element by label/text content (waits and throws if not found)

Parameters

ParameterType
textTextMatch
options?TextMatchOptions

Returns

Promise<Gtk.Widget>


findByRole()

findByRole: (role, options?) => Promise<Gtk.Widget>

Defined in: types.ts:116

Find single element by accessible role (waits and throws if not found)

Parameters

ParameterType
roleGtk.AccessibleRole
options?ByRoleOptions

Returns

Promise<Gtk.Widget>


findByTestId()

findByTestId: (testId, options?) => Promise<Gtk.Widget>

Defined in: types.ts:122

Find single element by test ID (waits and throws if not found)

Parameters

ParameterType
testIdTextMatch
options?TextMatchOptions

Returns

Promise<Gtk.Widget>


findByText()

findByText: (text, options?) => Promise<Gtk.Widget>

Defined in: types.ts:120

Find single element by visible text (waits and throws if not found)

Parameters

ParameterType
textTextMatch
options?TextMatchOptions

Returns

Promise<Gtk.Widget>


queryAllByLabelText()

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

Defined in: types.ts:110

Query all elements by label/text content (returns empty array if none found)

Parameters

ParameterType
textTextMatch
options?TextMatchOptions

Returns

Gtk.Widget[]


queryAllByRole()

queryAllByRole: (role, options?) => Gtk.Widget[]

Defined in: types.ts:108

Query all elements by accessible role (returns empty array if none found)

Parameters

ParameterType
roleGtk.AccessibleRole
options?ByRoleOptions

Returns

Gtk.Widget[]


queryAllByTestId()

queryAllByTestId: (testId, options?) => Gtk.Widget[]

Defined in: types.ts:114

Query all elements by test ID (returns empty array if none found)

Parameters

ParameterType
testIdTextMatch
options?TextMatchOptions

Returns

Gtk.Widget[]


queryAllByText()

queryAllByText: (text, options?) => Gtk.Widget[]

Defined in: types.ts:112

Query all elements by visible text (returns empty array if none found)

Parameters

ParameterType
textTextMatch
options?TextMatchOptions

Returns

Gtk.Widget[]


queryByLabelText()

queryByLabelText: (text, options?) => Gtk.Widget | null

Defined in: types.ts:102

Query single element by label/text content (returns null if not found)

Parameters

ParameterType
textTextMatch
options?TextMatchOptions

Returns

Gtk.Widget | null


queryByRole()

queryByRole: (role, options?) => Gtk.Widget | null

Defined in: types.ts:100

Query single element by accessible role (returns null if not found)

Parameters

ParameterType
roleGtk.AccessibleRole
options?ByRoleOptions

Returns

Gtk.Widget | null


queryByTestId()

queryByTestId: (testId, options?) => Gtk.Widget | null

Defined in: types.ts:106

Query single element by test ID (returns null if not found)

Parameters

ParameterType
testIdTextMatch
options?TextMatchOptions

Returns

Gtk.Widget | null


queryByText()

queryByText: (text, options?) => Gtk.Widget | null

Defined in: types.ts:104

Query single element by visible text (returns null if not found)

Parameters

ParameterType
textTextMatch
options?TextMatchOptions

Returns

Gtk.Widget | null