Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/f/l/Flappy-0.3.7/samples/mouse.py   Flappy(Download)
    def on_stage(self, event):
        Mouse.hide()
        self.stage.addEventListener(MouseEvent.MOUSE_MOVE, self.on_mouse_move)
        self.stage.color = 0x383830
 

src/f/l/Flappy-0.3.7/flappy/display/stage.py   Flappy(Download)
            _core.etMouseMove:
                lambda event:
                    self._on_mouse(event, MouseEvent.MOUSE_MOVE, True),
 
            _core.etMouseDown:
                if self._drag_object:
                    self._drag(Point(event.x, event.y))
                evt = MouseEvent._create(MouseEvent.MOUSE_MOVE, event,
                                            local, obj)
                obj._fire_event(evt)