MessageDialog


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
[ PrintfFormat ]
public MessageDialog (Window? parent, DialogFlags flags, MessageType type, ButtonsType buttons, string? message_format, ...)

Creates a new message dialog.

Note:

Use [class@Gtk.AlertDialog] instead

This 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 [enum@Gtk.ResponseType]. See [class@Gtk.Dialog] for more details.

Parameters:

parent

transient parent

flags

flags

type

type of message

buttons

set of buttons to use

message_format

printf-style format string

...

arguments for message_format

Returns:

a new `GtkMessageDialog`