Type Alias: GtkAppChooserButtonProps
GtkAppChooserButtonProps =
WidgetProps&object
Defined in: generated/jsx.ts:1308
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:1315 |
modal? | boolean | Whether the app chooser dialog should be modal. | generated/jsx.ts:1317 |
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:1334 |
onChanged? | (self) => void | null | Emitted when the active application changes. | generated/jsx.ts:1336 |
onCustomItemActivated? | (itemName, self) => void | null | Emitted 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? | boolean | Determines whether the dropdown menu shows the default application on top for the provided content type. | generated/jsx.ts:1322 |
showDialogItem? | boolean | Determines whether the dropdown menu shows an item to open a GtkAppChooserDialog. | generated/jsx.ts:1327 |