Constructor

GtkMessageDialognew

Declaration [src]

GtkWidget*
gtk_message_dialog_new (
  GtkWindow* parent,
  GtkDialogFlags flags,
  GtkMessageType type,
  GtkButtonsType buttons,
  const gchar* message_format,
  ...
)

Description [src]

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.

This constructor is not directly available to language bindings.

Parameters

parent

Type: GtkWindow

Transient parent, or NULL for none.

The argument can be NULL.
The data is owned by the caller of the function.
flags

Type: GtkDialogFlags

Flags.

type

Type: GtkMessageType

Type of message.

buttons

Type: GtkButtonsType

Set of buttons to use.

message_format

Type: const gchar*

Printf()-style format string, or NULL.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
...

Type: 

Arguments for message_format.

Return value

Type: GtkWidget

A new GtkMessageDialog.

The data is owned by the called function.