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

Method OnLeftDown

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

Source from the content-addressed store, hash-verified

157 pass
158
159 def OnLeftDown(self, event):
160 self._left = True
161 self.SetToolTip(None)
162 self.Bind(wx.EVT_LEFT_UP, self.OnLeftUp)
163 self.Bind(wx.EVT_MOUSE_CAPTURE_LOST, self.OnLeftUp)
164 if not self._right:
165 self.Bind(wx.EVT_MOTION, self.OnMotion)
166 if not self.HasCapture():
167 self.CaptureMouse()
168 self.HandleMouseEvent(event)
169
170 def OnRightDown(self, event):
171 self._right = True

Callers

nothing calls this directly

Calls 1

HandleMouseEventMethod · 0.95

Tested by

no test coverage detected