choose


Description:

[ DestroysInstance ]
[ Version ( since = "1.3" ) ]
public async unowned string choose (Cancellable? cancellable)

This function shows this to the user.

The callback will be called when the alert is dismissed. It should call [method@MessageDialog.choose_finish] to obtain the result.

Parameters:

this

a message dialog

cancellable

a `GCancellable` to cancel the operation

callback

a callback to call when the operation is complete

user_data

data to pass to callback