Type Alias: GtkAppChooserButtonProps
GtkAppChooserButtonProps =
WidgetProps&object
Defined in: generated/jsx.ts:1488
Props for the GtkAppChooserButton widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
heading? | string | null | The 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? | boolean | Whether the app chooser dialog should be modal. | generated/jsx.ts:1497 |
onActivate()? | (self) => void | null | Emitted 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 | null | Emitted when the active application changes. | generated/jsx.ts:1516 |
onCustomItemActivated()? | (self, itemName) => void | null | Emitted when a custom item is activated. Use AppChooserButton.append_custom_item, to add custom items. | generated/jsx.ts:1523 |
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:1529 |
ref? | Ref<Gtk.AppChooserButton> | - | generated/jsx.ts:1535 |
showDefaultItem? | boolean | Determines whether the dropdown menu shows the default application on top for the provided content type. | generated/jsx.ts:1502 |
showDialogItem? | boolean | Determines whether the dropdown menu shows an item to open a GtkAppChooserDialog. | generated/jsx.ts:1507 |