Type Alias: GtkAppChooserWidgetProps
GtkAppChooserWidgetProps =
WidgetProps&object
Defined in: generated/jsx.ts:1555
Props for the GtkAppChooserWidget widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
defaultText? | string | null | The text that appears in the widget when there are no applications for the given content type. | generated/jsx.ts:1560 |
onApplicationActivated()? | (self, application) => void | null | Emitted when an application item is activated from the widget's list. This usually happens when the user double clicks an item, or an item is selected and the user presses one of the keys Space, Shift+Space, Return or Enter. | generated/jsx.ts:1603 |
onApplicationSelected()? | (self, application) => void | null | Emitted when an application item is selected from the widget's list. | generated/jsx.ts:1605 |
onNotify? | (self, propName) => void | null | Called when any property on this widget changes. Param The widget that emitted the notification Param The name of the property that changed (in kebab-case) | generated/jsx.ts:1611 |
ref? | Ref<Gtk.AppChooserWidget> | - | generated/jsx.ts:1624 |
showAll? | boolean | If %TRUE, the app chooser presents all applications in a single list, without subsections for default, recommended or related applications. | generated/jsx.ts:1566 |
showDefault? | boolean | Determines whether the app chooser should show the default handler for the content type in a separate section. If %FALSE, the default handler is listed among the recommended applications. | generated/jsx.ts:1574 |
showFallback? | boolean | Determines whether the app chooser should show a section for fallback applications. If %FALSE, the fallback applications are listed among the other applications. | generated/jsx.ts:1582 |
showOther? | boolean | Determines whether the app chooser should show a section for other applications. | generated/jsx.ts:1587 |
showRecommended? | boolean | Determines whether the app chooser should show a section for recommended applications. If %FALSE, the recommended applications are listed among the other applications. | generated/jsx.ts:1595 |