MessageDialog.choose

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.

class MessageDialog
void
choose

Parameters

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