Type Alias: AdwMessageDialogProps
AdwMessageDialogProps =
Omit<GtkWindowProps,"onNotify"> &object
Defined in: generated/jsx.ts:6477
Props for the AdwMessageDialog widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
body? | string | The body text of the dialog. | generated/jsx.ts:6479 |
bodyUseMarkup? | boolean | Whether the body text includes Pango markup. See Pangoparse_markup. | generated/jsx.ts:6485 |
children? | ReactNode | - | generated/jsx.ts:6534 |
closeResponse? | string | The ID of the close response. It will be passed to AdwMessageDialog.:response if the window is closed by pressing Escape or with a system action. It doesn't have to correspond to any of the responses in the dialog. The default close response is close. | generated/jsx.ts:6496 |
defaultResponse? | string | null | The response ID of the default response. The button corresponding to this response will be set as the default widget of the dialog. If not set, the default widget will not be set, and the last added response will be focused by default. See Window.default-widget. | generated/jsx.ts:6508 |
extraChild? | Gtk.Widget | null | The child widget. Displayed below the heading and body. | generated/jsx.ts:6514 |
heading? | string | null | The heading of the dialog. | generated/jsx.ts:6516 |
headingUseMarkup? | boolean | Whether the heading includes Pango markup. See Pangoparse_markup. | generated/jsx.ts:6522 |
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:6540 |
onResponse()? | (self, response) => void | null | This signal is emitted when the dialog is closed. response will be set to the response ID of the button that had been activated. if the dialog was closed by pressing Escape or with a system action, response will be set to the value of AdwMessageDialog.close-response. | generated/jsx.ts:6533 |
ref? | Ref<Adw.MessageDialog> | - | generated/jsx.ts:6553 |