matchEvent
Parameters
- self:*TextEntryWidget
- *TextEntryWidget
- e:*Event
- *Event
Source
Implementation
pub fn matchEvent(self: *TextEntryWidget, e: *Event) bool {
// textLayout could be passively listening to events in matchEvent, so
// don't short circuit
const match1 = dvui.eventMatchSimple(e, self.data());
const match2 = self.scroll.scroll.?.matchEvent(e);
const match3 = self.textLayout.matchEvent(e);
return match1 or match2 or match3;
}