MessageDialog.choose

void choose(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.message_dialog.MessageDialog.chooseFinish] to obtain the result.

Parameters

cancellablea [gio.cancellable.Cancellable] to cancel the operation
callbacka callback to call when the operation is complete