tkDialog  ancestor_0--this  ancestor_1  GtkWindow  ancestor_1--ancestor_0
ancestor_2  GtkBin  ancestor_2--ancestor_1  ancestor_3  GtkContainer
ancestor_3--ancestor_2  ancestor_4  GtkWidget  ancestor_4--ancestor_3
ancestor_5  GInitiallyUnowned  ancestor_5--ancestor_4  ancestor_6  GObject
ancestor_6--ancestor_5

####  Ancestors

  * [ GtkDialog ](class.Dialog.html "Dialog")
  * [ GtkWindow ](class.Window.html "Window")
  * [ GtkBin ](class.Bin.html "Bin")
  * [ GtkContainer ](class.Container.html "Container")
  * [ GtkWidget ](class.Widget.html "Widget")
  * [ GInitiallyUnowned ](javascript:void\(0\))
  * [ GObject ](javascript:void\(0\))

####  Implements

  * [ AtkImplementorIface ](javascript:void\(0\))
  * [ GtkBuildable ](iface.Buildable.html "Buildable")

####  Constructors

######  [ gtk_message_dialog_new ](ctor.MessageDialog.new.html)

Creates a new message dialog, which is a simple dialog with 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.

######  [ gtk_message_dialog_new_with_markup
](ctor.MessageDialog.new_with_markup.html)

Creates a new message dialog, which is a simple dialog with some text that is
marked up with the [Pango text markup language][PangoMarkupFormat]. When the
user clicks a button a “response” signal is emitted with response IDs from `
GtkResponseType ` . See ` GtkDialog ` for more details.

since: 2.4

####  Instance methods

######  [ gtk_message_dialog_format_secondary_markup
](method.MessageDialog.format_secondary_markup.html)

Sets the secondary text of the message dialog to be ` message_format ` (with
printf()-style), which is marked up with the [Pango text markup
language][PangoMarkupFormat].

since: 2.6

######  [ gtk_message_dialog_format_secondary_text
](method.MessageDialog.format_secondary_text.html)

Sets the secondary text of the message dialog to be ` message_format ` (with
printf()-style).

since: 2.6

######  [ gtk_message_dialog_get_image ](method.MessageDialog.get_image.html)

Gets the dialog’s image.

deprecated: 3.12  since: 2.14

######  [ gtk_message_dialog_get_message_area
](method.MessageDialog.get_message_area.html)

Returns the message area of the dialog. This is the box where the dialog’s
primary and secondary labels are packed. You can add your own extra content to
that box and it will appear below those labels. See `
gtk_dialog_get_content_area() ` for the corresponding function in the parent `
GtkDialog ` .

since: 2.22

######  [ gtk_message_dialog_set_image ](method.MessageDialog.set_image.html)

Sets the dialog’s image to ` image ` .

deprecated: 3.12  since: 2.10

######  [ gtk_message_dialog_set_markup
](method.MessageDialog.set_markup.html)

Sets the text of the message dialog to be ` str ` , which is marked up with
the [Pango text markup language][PangoMarkupFormat].

since: 2.4

#####  Methods inherited from [ GtkDialog ](class.Dialog.html) (14)

######  [ gtk_dialog_add_action_widget ](method.Dialog.add_action_widget.html)

Adds an activatable widget to the action area of a ` GtkDialog ` , connecting
a signal handler that will emit the ` GtkDialog::response ` signal on the
dialog when the widget is activated. The widget is appended to the end of the
dialog’s action area. If you want to add a non-activatable widget, simply pack
it into the ` action_area ` field of the ` GtkDialog ` struct.

######  [ gtk_dialog_add_button ](method.Dialog.add_button.html)

Adds a button with the given text and sets things up so that clicking the
button will emit the ` GtkDialog::response ` signal with the given `
response_id ` . The button is appended to the end of the dialog’s action area.
The button widget is returned, but usually you don’t need it.

######  [ gtk_dialog_add_buttons ](method.Dialog.add_buttons.html)

Adds more buttons, same as calling ` gtk_dialog_add_button() ` repeatedly. The
variable argument list should be ` NULL ` -terminated