Skip to main content

Type Alias: GtkAppChooserButtonProps

GtkAppChooserButtonProps = WidgetProps & object

Defined in: generated/jsx.ts:1308

Props for the GtkAppChooserButton widget.

Type Declaration

NameTypeDescriptionDefined in
heading?string | nullThe text to show at the top of the dialog that can be opened from the button. The string may contain Pango markup.generated/jsx.ts:1315
modal?booleanWhether the app chooser dialog should be modal.generated/jsx.ts:1317
onActivate?(self) => void | nullEmitted to when the button is activated. The ::activate signal on GtkAppChooserButton is an action signal and emitting it causes the button to pop up its dialog.generated/jsx.ts:1334
onChanged?(self) => void | nullEmitted when the active application changes.generated/jsx.ts:1336
onCustomItemActivated?(itemName, self) => void | nullEmitted when a custom item is activated. Use AppChooserButton.append_custom_item, to add custom items.generated/jsx.ts:1343
ref?Ref<Gtk.AppChooserButton>-generated/jsx.ts:1344
showDefaultItem?booleanDetermines whether the dropdown menu shows the default application on top for the provided content type.generated/jsx.ts:1322
showDialogItem?booleanDetermines whether the dropdown menu shows an item to open a GtkAppChooserDialog.generated/jsx.ts:1327