AlertDialog.choose

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 gtk.widget.Widget

the parent widget

cancellable gio.cancellable.Cancellable

a gio.cancellable.Cancellable to cancel the operation

callback gio.types.AsyncReadyCallback

a callback to call when the operation is complete