setDefaultPathForContext

fun setDefaultPathForContext(programName: String = stackRootClassName(), contextID: String = "global", file: File)(source)

Set the default path for a context This is an internal function, but it can be used to set a default path before calling any of the file dialog functions

Since

0.3.40

Parameters

programName

optional name of the program, default is guessed from a stack trace on the current thread

contextID

optional context identifier, the default is "global"

file

the path to set as a default

See also