MessageDialog.this

Creates a new message dialog, which is a simple dialog with an icon indicating the dialog type (error, warning, etc.) and some text the user may want to see. When the user clicks a button a "response" signal is emitted with response IDs from GtkResponseType. See GtkDialog for more details.

If you have an existing Pango markup string that you want to use literally as the label, then you need to use setMarkup() instead.

  1. this(GtkMessageDialog* gtkMessageDialog, bool ownedRef)
  2. this(Window parent, GtkDialogFlags flags, GtkMessageType type, GtkButtonsType buttons, string message)

Parameters

parent Window

transient parent, or NULL for none

flags GtkDialogFlags

flags

type GtkMessageType

type of message

buttons GtkButtonsType

set of buttons to use

message string

the message

Return Value

a new GtkMessageDialog

Meta