MessageDialog.this
this
(void * ptr, Flag!"Take" take)No documentation available for this declaration.
this
(gtk.window.Window parent = null, string heading = null, string body_ = null)Creates a new adw.message_dialog.MessageDialog.
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.message_dialog.MessageDialog.formatBody or similar methods afterwards:
GtkWidget *dialog;
dialog = adw_message_dialog_new (parent, _("Replace File?"), NULL);
adw_message_dialog_format_body (ADW_MESSAGE_DIALOG (dialog),
_("A file named ā%sā already exists. Do you want to replace it?"),
filename);Parameters
parent | transient parent |
heading | the heading |
body_ | the body text |
Returns
the newly created adw.message_dialog.MessageDialog