Type Alias: GtkDialogProps
GtkDialogProps =
GtkWindowProps&object
Defined in: generated/jsx.ts:2682
Props for the GtkDialog widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
children? | ReactNode | - | generated/jsx.ts:2700 |
onClose? | (self) => void | null | Emitted when the user uses a keybinding to close the dialog. This is a keybinding signal. The default binding for this signal is the Escape key. | generated/jsx.ts:2690 |
onResponse? | (responseId, self) => void | null | Emitted when an action widget is clicked. The signal is also emitted when the dialog receives a delete event, and when Dialog.response is called. On a delete event, the response ID is %GTK_RESPONSE_DELETE_EVENT. Otherwise, it depends on which action widget was clicked. | generated/jsx.ts:2699 |
ref? | Ref<Gtk.Dialog> | - | generated/jsx.ts:2701 |