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

Method OnRightUp

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

Source from the content-addressed store, hash-verified

191 self.ReleaseMouse()
192
193 def OnRightUp(self, event):
194 self.HandleMouseEvent(event)
195 self.Unbind(wx.EVT_RIGHT_UP, handler=self.OnRightUp)
196 self.Unbind(wx.EVT_MOUSE_CAPTURE_LOST, handler=self.OnRightUp)
197 self._right = False
198 if not self._left:
199 self.Unbind(wx.EVT_MOTION, handler=self.OnMotion)
200 self.SendChangeEvent()
201 self.SetToolTip(wx.ToolTip(self._tooltip))
202 if self.HasCapture():
203 self.ReleaseMouse()
204
205 def OnMotion(self, event):
206 self.HandleMouseEvent(event)

Callers

nothing calls this directly

Calls 2

HandleMouseEventMethod · 0.95
SendChangeEventMethod · 0.95

Tested by

no test coverage detected