From: W. Trevor King Date: Mon, 2 Aug 2010 13:22:04 +0000 (-0400) Subject: Rename _on_mouse_over -> _on_motion in panel.propertyeditor X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=738ac30f618ac95e717cc5f1d600c1a7a6277c50;p=hooke.git Rename _on_mouse_over -> _on_motion in panel.propertyeditor --- diff --git a/hooke/ui/gui/panel/propertyeditor.py b/hooke/ui/gui/panel/propertyeditor.py index 2d22e45..ab2518d 100644 --- a/hooke/ui/gui/panel/propertyeditor.py +++ b/hooke/ui/gui/panel/propertyeditor.py @@ -219,9 +219,9 @@ class PropertyPanel(Panel, wx.grid.Grid): self.SetColLabelValue(0, 'value') self._last_tooltip = None - self.GetGridWindow().Bind(wx.EVT_MOTION, self._on_mouse_over) + self.GetGridWindow().Bind(wx.EVT_MOTION, self._on_motion) - def _on_mouse_over(self, event): + def _on_motion(self, event): """Enable tooltips. """ x,y = self.CalcUnscrolledPosition(event.GetPosition())