AlertDialog.this
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
heading | the heading |
body_ | the body text |
Returns
the newly created [adw.alert_dialog.AlertDialog]