choose
Description:
This function shows the alert to the user.
The callback
will be called when the alert is dismissed. It should call [method@Gtk.AlertDialog.choose_finish] to obtain the
result.
It is ok to pass `NULL` for the callback if the alert does not have more than one button. A simpler API for this case is [ method@Gtk.AlertDialog.show].
Parameters:
this |
a `GtkAlertDialog` |
parent |
the parent `GtkWindow` |
cancellable |
a `GCancellable` to cancel the operation |
callback |
a callback to call when the operation is complete |
user_data |
data to pass to |