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.
pub fn handle_events(
state: &mut ButtonState,
focus: bool,
event: &Event,
) -> ButtonOutcomeHandle all events. Text events are only processed if focus is true. Mouse events are processed if they are in range.