Skip to main content

Type Alias: GtkAppChooserButtonProps

GtkAppChooserButtonProps = WidgetProps & object

Defined in: generated/jsx.ts:1488

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:1495
modal?booleanWhether the app chooser dialog should be modal.generated/jsx.ts:1497
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:1514
onChanged()?(self) => void | nullEmitted when the active application changes.generated/jsx.ts:1516
onCustomItemActivated()?(self, itemName) => void | nullEmitted when a custom item is activated. Use AppChooserButton.append_custom_item, to add custom items.generated/jsx.ts:1523
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:1529
ref?Ref<Gtk.AppChooserButton>-generated/jsx.ts:1535
showDefaultItem?booleanDetermines whether the dropdown menu shows the default application on top for the provided content type.generated/jsx.ts:1502
showDialogItem?booleanDetermines whether the dropdown menu shows an item to open a GtkAppChooserDialog.generated/jsx.ts:1507