openFolderDialog

fun openFolderDialog(programName: String = stackRootClassName(), contextID: String = "global", defaultPath: String? = getDefaultPathForContext(programName, contextID), function: (File) -> Unit)(source)

Creates a file dialog that can be used to open multiple files

Parameters

programName

optional name of the program, this is guessed from a stack trace by default

contextID

optional context identifier, default is "global"

function

the function to be invoked when a file has been picked