openrndr / org.openrndr.dialogs

Package org.openrndr.dialogs

Functions

openFileDialog

fun openFileDialog(programName: String = "OPENRNDR", contextID: String = "global", function: (File) -> Unit): Unit
fun openFileDialog(programName: String = "OPENRNDR", contextID: String = "global", supportedExtensions: List<String>, function: (File) -> Unit): Unit

openFilesDialog

fun openFilesDialog(programName: String = "OPENRNDR", contextID: String = "global", supportedExtensions: List<String>, function: (List<File>) -> Unit): Unit
fun openFilesDialog(programName: String = "OPENRNDR", contextID: String = "global", function: (List<File>) -> Unit): Unit

openFolderDialog

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

saveFileDialog

fun saveFileDialog(programName: String = "OPENRNDR", contextID: String = "global", function: (File) -> Unit): Unit
fun saveFileDialog(programName: String = "OPENRNDR", contextID: String = "global", supportedExtensions: List<String>, function: (File) -> Unit): Unit