AlertDialog.choose
void choose(gtk.widget.Widget parent = null, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)This function shows self to the user.
The callback will be called when the alert is dismissed. It should call [adw.alert_dialog.AlertDialog.chooseFinish] to obtain the result.
If the window is an classWindow or classApplicationWindow, the dialog will be shown within it. Otherwise, it will be a separate window.
Parameters
parent | the parent widget |
cancellable | a [gio.cancellable.Cancellable] to cancel the operation |
callback | a callback to call when the operation is complete |