Function fltk::app::belowmouse [−][src]
pub fn belowmouse<Wid: WidgetExt>() -> Option<impl WidgetExt>
Gets the widget that is below the mouse cursor.
This returns an Option
use fltk::app; use fltk::widget; let w = app::belowmouse::<widget::Widget>(); // or by specifying a more concrete type