Function: queryAllByLabelText()
queryAllByLabelText(
container,text,options?):Widget[]
Defined in: queries.ts:154
Finds all elements that are labelled by a GtkLabel whose text matches.
Uses GtkLabel's mnemonic widget association to find form elements by their label text. Only returns widgets that are properly labelled via GtkLabel's mnemonic-widget property.
Parameters
| Parameter | Type | Description |
|---|---|---|
container | Container | The container to search within |
text | TextMatch | Label text to match (string, RegExp, or custom matcher) |
options? | TextMatchOptions | Query options including normalization |
Returns
Widget[]
Array of labelled widgets (empty if none found)