choose

open fun choose(parent: <Error class: unknown class>? = null, cancellable: <Error class: unknown class>? = null, callback: <Error class: unknown class>?)(source)

This function shows @self to the user.

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

If the window is an class@Window or class@ApplicationWindow, the dialog will be shown within it. Otherwise, it will be a separate window.

Since

1.5

Parameters

parent

the parent widget

cancellable

a GCancellable to cancel the operation

callback

a callback to call when the operation is complete