Class
GtkAlertDialog
since: 4.10
Description [src]
final class Gtk.AlertDialog : GObject.Object
{
/* No available fields */
}
A GtkAlertDialog
object collects the arguments that
are needed to present a message to the user.
The message is shown with the gtk_alert_dialog_choose()
function.
If you don’t need to wait for a button to be clicked, you can use
gtk_alert_dialog_show()
.
Available since: 4.10
Instance methods
gtk_alert_dialog_choose_finish
Finishes the gtk_alert_dialog_choose()
call
and returns the index of the button that was clicked.
since: 4.10
gtk_alert_dialog_get_modal
Returns whether the alert blocks interaction with the parent window while it is presented.
since: 4.10
gtk_alert_dialog_set_modal
Sets whether the alert blocks interaction with the parent window while it is presented.
since: 4.10
Properties
Gtk.AlertDialog:cancel-button
This property determines what happens when the Escape key is pressed while the alert is shown.
since: 4.10
Gtk.AlertDialog:default-button
This property determines what happens when the Return key is pressed while the alert is shown.
since: 4.10
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.