Function belowmouse
pub fn belowmouse<Wid>() -> Option<Wid> ⓘwhere
Wid: WidgetBase,
Available on crate feature
dep_fltk
only.Expand description
Gets the widget that is below the mouse cursor.
This returns an Option<impl WidgetExt>
which can be specified in the function call
use fltk::app;
use fltk::widget;
let w = app::belowmouse::<widget::Widget>(); // or by specifying a more concrete type