Skip to main content

Type Alias: TextMatchFunction()

TextMatchFunction = (content, widget) => boolean

Defined in: types.ts:11

Custom function for matching text content.

Parameters

ParameterTypeDescription
contentstringThe normalized text content to match against
widgetGtk.WidgetThe widget being tested

Returns

boolean

true if the content matches