Scoop API

scoop:scoop.ui.component:0.1.0

NativeDialogController

class NativeDialogController

source · line 24
public
public class NativeDialogController<T> internal constructor(
    private val scope: NativeControllerScope,
    private val target: DialogTarget
) : Closeable

function open

source · line 38
public
public fun <C: Component> open(create: (NativeDialogResponse<T>, ComponentScope) -> C, onResult: (NativeDialogResult<T>) -> Unit, attributes: WindowAttributes = windowAttributes(), options: WindowModalOptions? = None, fonts: FontCollection? = None): Boolean

Native creation or presentation failures return Failed without retiring the caller.