Skip to main content

Type Alias: GtkMessageDialogProps

GtkMessageDialogProps = Omit<GtkDialogProps, "onNotify"> & object

Defined in: generated/jsx.ts:6556

Props for the GtkMessageDialog widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:6579
messageType?Gtk.MessageTypeThe type of the message.generated/jsx.ts:6558
onNotify?(self, propName) => void | nullCalled 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:6585
ref?Ref<Gtk.MessageDialog>-generated/jsx.ts:6591
secondaryText?stringThe secondary text of the message dialog.generated/jsx.ts:6560
secondaryUseMarkup?boolean%TRUE if the secondary text of the dialog includes Pango markup. See Pangoparse_markup.generated/jsx.ts:6566
text?stringThe primary text of the message dialog. If the dialog has a secondary text, this will appear as the title.generated/jsx.ts:6572
useMarkup?boolean%TRUE if the primary text of the dialog includes Pango markup. See Pangoparse_markup.generated/jsx.ts:6578