Type Alias: GtkDialogProps
GtkDialogProps =
Omit<GtkWindowProps,"onNotify"> &object
Defined in: generated/jsx.ts:3264
Props for the GtkDialog widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
children? | ReactNode | - | generated/jsx.ts:3282 |
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:3272 |
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:3288 |
onResponse()? | (self, responseId) => 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:3281 |
ref? | Ref<Gtk.Dialog> | - | generated/jsx.ts:3289 |