lock

open fun lock()(source)

Locks the file input (disabling all buttons except a cancel button).