pub fn lock() -> Result<(), FltkError> ⓘ
dep_fltk
Locks the main UI thread
Returns FailedToLock if locking is unsupported. This is fatal to the app
FailedToLock