AlertDialog.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
this(string heading = null, string body_ = null)

Creates a new adw.alert_dialog.AlertDialog.

heading and body can be set to NULL. This can be useful if they need to be formatted or use markup. In that case, set them to NULL and call adw.alert_dialog.AlertDialog.formatBody or similar methods afterwards:

AdwDialog *dialog;

dialog = adw_alert_dialog_new (_("Replace File?"), NULL);
adw_alert_dialog_format_body (ADW_ALERT_DIALOG (dialog),
                              _("A file named ā€œ%sā€ already exists.  Do you want to replace it?"),
                              filename);

Parameters

headingthe heading
body_the body text

Returns