Function rat_input::button::handle_events
source ยท pub fn handle_events(
state: &mut ButtonState,
focus: bool,
event: &Event,
) -> ButtonOutcomeExpand description
Handle all events. Text events are only processed if focus is true. Mouse events are processed if they are in range.