Example #1
0
 def enterEvent(self, event):
     try:
         x, y = self.mouseEventCoords(event.pos())
     except AttributeError:
         # the event from PyQt4 does not include the position
         x = y = None
     FigureCanvasBase.enter_notify_event(self, guiEvent=event, xy=(x, y))
Example #2
0
 def enterEvent(self, event):
     FigureCanvasBase.enter_notify_event(self, guiEvent=event)
 def enter_notify_event(self, widget, event):
     x, y, state = event.window.get_pointer()
     FigureCanvasBase.enter_notify_event(self, event, xy=(x,y))
Example #4
0
 def enter_notify_event(self, event):
     x = event.x
     # flipy so y=0 is bottom of canvas
     y = self.figure.bbox.height - event.y
     FigureCanvasBase.enter_notify_event(self, guiEvent=event, xy=(x, y))
Example #5
0
 def enterEvent(self, event):
     x, y = self.mouseEventCoords(self._get_position(event))
     FigureCanvasBase.enter_notify_event(self, guiEvent=event, xy=(x, y))
Example #6
0
 def enter_notify_event(self, widget, event):
     x, y, state = event.window.get_pointer()
     FigureCanvasBase.enter_notify_event(self, event, xy=(x, y))
Example #7
0
 def enterEvent(self, event):
     x, y = self.mouseEventCoords(event.pos())
     FigureCanvasBase.enter_notify_event(self, guiEvent=event, xy=(x, y))
Example #8
0
 def enter_notify_event(self, widget, event):
     FigureCanvasBase.enter_notify_event(self, event)
Example #9
0
 def enter_notify_event(self, controller, x, y):
     x, y = self._mouse_event_coords(x, y)
     FigureCanvasBase.enter_notify_event(self, xy=(x, y))
Example #10
0
 def enterEvent(self, event):
     FigureCanvasBase.enter_notify_event(self, guiEvent=event)
Example #11
0
 def enterEvent(self, event):
     x, y = self.mouseEventCoords(event.pos())
     FigureCanvasBase.enter_notify_event(self, guiEvent=event, xy=(x, y))
Example #12
0
 def _on_enter(self, event):
     """Mouse has entered the window."""
     x = event.GetX()
     y = self.figure.bbox.height - event.GetY()
     event.Skip()
     FigureCanvasBase.enter_notify_event(self, guiEvent=event, xy=(x, y))
Example #13
0
 def enterEvent(self, x, y):
     FigureCanvasBase.enter_notify_event(self, xy=(x, y))
Example #14
0
 def enter_notify_event(self, widget, event):
     x, y = self._mouse_event_coords(event)
     FigureCanvasBase.enter_notify_event(self, guiEvent=event, xy=(x, y))
Example #15
0
 def enter_notify_event(self, event):
     x = event.x
     # flipy so y=0 is bottom of canvas
     y = self.figure.bbox.height - event.y
     FigureCanvasBase.enter_notify_event(self, guiEvent=event, xy=(x, y))
Example #16
0
 def enter_notify_event(self, widget, event):
     FigureCanvasBase.enter_notify_event(self, event)
 def enter_notify_event(self, widget, event):
     x = event.x
     # flipy so y=0 is bottom of canvas
     y = self.get_allocation().height - event.y
     FigureCanvasBase.enter_notify_event(self, guiEvent=event, xy=(x, y))
Example #18
0
 def enter_notify_event(self, widget, event):
     x = event.x
     # flipy so y=0 is bottom of canvas
     y = self.get_allocation().height - event.y
     FigureCanvasBase.enter_notify_event(self, guiEvent=event, xy=(x, y))
Example #19
0
 def enter_notify_event(self, controller, x, y):
     # flipy so y=0 is bottom of canvas
     y = self.get_allocation().height - y
     FigureCanvasBase.enter_notify_event(self, xy=(x, y))