choose

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

This function shows @self to the user.

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