openrndr / org.openrndr.dialogs / openFolderDialog


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

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


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