Function fltk::app::lock

source ·
pub fn lock() -> Result<(), FltkError>
Expand description

Locks the main UI thread

Errors

Returns FailedToLock if locking is unsupported. This is fatal to the app