Function fltk::app::lock[][src]

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

Locks the main UI thread

Errors

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