MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / OnRightDown

Method OnRightDown

graphs/gui/vector.py:170–179  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

168 self.HandleMouseEvent(event)
169
170 def OnRightDown(self, event):
171 self._right = True
172 self.SetToolTip(None)
173 self.Bind(wx.EVT_RIGHT_UP, self.OnRightUp)
174 self.Bind(wx.EVT_MOUSE_CAPTURE_LOST, self.OnRightUp)
175 if not self._left:
176 self.Bind(wx.EVT_MOTION, self.OnMotion)
177 if not self.HasCapture():
178 self.CaptureMouse()
179 self.HandleMouseEvent(event)
180
181 def OnLeftUp(self, event):
182 self.HandleMouseEvent(event)

Callers

nothing calls this directly

Calls 1

HandleMouseEventMethod · 0.95

Tested by

no test coverage detected