def on_mouse_wheel_backward(self, obj, evt):
// First, propagate mouse wheel event to underneath prop.
abort_flag = False
prop = self.get_prop_at_event_position()
if prop is not None:
abort_flag = self.propagate_event(evt, prop)
// Then, to the active props.
if not abort_flag:
abort_flag = self.propagate_event(evt, *self.active_props)
// Finally, to the default interactor.
if not abort_flag:
self.default_interactor.OnMouseWheelBackward()
def on_char(self, obj, evt):
After Change
// First, propagate mouse wheel event to underneath prop.
prop = self.get_prop_at_event_position()
if prop is not None:
self.propagate_event(evt, prop)
// Then, to the active props.
if not self.event.abort_flag:
self.propagate_event(evt, *self.active_props)
// Finally, to the default interactor.
if not self.event.abort_flag:
self.default_interactor.OnMouseWheelBackward()
def on_char(self, obj, evt):