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 |
GtkWindow |
Transient parent, or |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
flags |
GtkDialogFlags |
Flags. |
|
type |
GtkMessageType |
Type of message. |
|
buttons |
GtkButtonsType |
Set of buttons to use. |
|
message_format |
const gchar* |
Printf()-style format string, or |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
... |
|
Arguments for |
Return value
Returns: | GtkWidget |
A new |
|
The data is owned by the called function. |