show

open fun show(parent: Window? = null)

Show the alert to the user.

This function is a simple version of method@Gtk.AlertDialog.choose intended for dialogs with a single button. If you want to cancel the dialog or if the alert has more than one button, you should use that function instead and provide it with a #GCancellable or callback respectively.

Since

4.10

Parameters

parent

the parent GtkWindow