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 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