Skip to main content

Type Alias: GtkAppChooserWidgetProps

GtkAppChooserWidgetProps = WidgetProps & object

Defined in: generated/jsx.ts:1358

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:1363
onApplicationActivated?(application, self) => 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:1406
onApplicationSelected?(application, self) => void | nullEmitted when an application item is selected from the widget's list.generated/jsx.ts:1408
ref?Ref<Gtk.AppChooserWidget>-generated/jsx.ts:1409
showAll?booleanIf %TRUE, the app chooser presents all applications in a single list, without subsections for default, recommended or related applications.generated/jsx.ts:1369
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:1377
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:1385
showOther?booleanDetermines whether the app chooser should show a section for other applications.generated/jsx.ts:1390
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:1398