API Reference / @gtkx/testing / ByRoleValue
Type Alias: ByRoleValue
ByRoleValue =
object
Defined in: packages/testing/src/types.ts:64
Constraints on a widget's numeric range value used by role queries. The numbers come from the accessibility tree and match within 0.001, the resolution GTK keeps them to.
Properties
max?
optionalmax?:number
Defined in: packages/testing/src/types.ts:73
The highest value the widget can reach, which on a paged widget such as a scrollbar is its adjustment's upper bound less one page.
min?
optionalmin?:number
Defined in: packages/testing/src/types.ts:68
The lower bound of the value's range.
now?
optionalnow?:number
Defined in: packages/testing/src/types.ts:66
The current value.
text?
optionaltext?:Matcher
Defined in: packages/testing/src/types.ts:75
Matcher for the value's textual representation.