matchEvent
Parameters
- self:*TextLayoutWidget
- *TextLayoutWidget
- e:*Event
- *Event
Source
Implementation
pub fn matchEvent(self: *TextLayoutWidget, e: *Event) bool {
if (self.touch_editing and e.evt == .mouse and e.evt.mouse.action == .release and e.evt.mouse.button.touch()) {
self.te_show_draggables = true;
self.te_show_context_menu = true;
dvui.refresh(null, @src(), self.data().id);
}
return dvui.eventMatchSimple(e, self.data());
}