Function fltk::app::belowmouse
source · pub fn belowmouse<Wid: WidgetExt>() -> Option<impl WidgetExt>
Expand description
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