equal
deleted
inserted
replaced
114 self.Tip = tip.splitlines() |
114 self.Tip = tip.splitlines() |
115 |
115 |
116 # Prevent to call wx method in non-wx threads |
116 # Prevent to call wx method in non-wx threads |
117 wx.CallAfter(self.RefreshTip) |
117 wx.CallAfter(self.RefreshTip) |
118 |
118 |
119 def MoveToolTip(self, pos): |
119 def SetToolTipPosition(self, pos): |
120 """ |
120 """ |
121 Move tool tip |
121 Set tool tip position |
122 @param pos: New tool tip position |
122 @param pos: New tool tip position |
123 """ |
123 """ |
124 # Get screen size to prevent tool tip to go out of the screen |
124 # Get screen size to prevent tool tip to go out of the screen |
125 screen_width, screen_height = wx.GetDisplaySize() |
125 screen_width, screen_height = wx.GetDisplaySize() |
126 |
126 |