Function fltk::app::thread_msg [−][src]
pub unsafe fn thread_msg<T>() -> Option<T>
Receives a custom message
use fltk::*; if let Some(msg) = unsafe { app::thread_msg::<i32>() } { /* do something */ }
Safety
The type must correspond to the received message