You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method would return None if the input is not captured, otherwise returning Some(widget::Index) with the index of the widget currently capturing the input. I.e.
if ui.is_mouse_captured().is_none(){// Do stuff with mouse}if ui.is_keyboard_captured().is_none(){// Do stuff with keyboard}