AlertDialog


Object Hierarchy:

Gtk.AlertDialog Gtk.AlertDialog Gtk.AlertDialog GLib.Object GLib.Object GLib.Object->Gtk.AlertDialog

Description:

[ CCode ( type_id = "gtk_alert_dialog_get_type ()" ) ]
[ Version ( since = "4.10" ) ]
public sealed class AlertDialog : Object

A `GtkAlertDialog` object collects the arguments that are needed to present a message to the user.

The message is shown with the [method@Gtk.AlertDialog.choose] function. This API follows the GIO async pattern, and the result can be obtained by calling [method@Gtk.AlertDialog.choose_finish].

If you don't need to wait for a button to be clicked, you can use [method@Gtk.AlertDialog.show].


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Inherited Members: