show
Description:
Shows the alert to the user.
This function is a simpler 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 [ class@Gio.Cancellable] and callback respectively.
Parameters:
this |
an alert dialog |
parent |
the parent window |