Skip to main content

Type Alias: GtkAppChooserWidgetProps

GtkAppChooserWidgetProps = WidgetProps & object

Defined in: generated/jsx.ts:1555

Props for the GtkAppChooserWidget widget.

Type Declaration

NameTypeDescriptionDefined in
defaultText?string | nullThe text that appears in the widget when there are no applications for the given content type.generated/jsx.ts:1560
onApplicationActivated()?(self, application) => void | nullEmitted 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 | nullEmitted when an application item is selected from the widget's list.generated/jsx.ts:1605
onNotify?(self, propName) => void | nullCalled 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?booleanIf %TRUE, the app chooser presents all applications in a single list, without subsections for default, recommended or related applications.generated/jsx.ts:1566
showDefault?booleanDetermines 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?booleanDetermines 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?booleanDetermines whether the app chooser should show a section for other applications.generated/jsx.ts:1587
showRecommended?booleanDetermines 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