gui/tools/designer.py
def CalculateBestPosition(self,widget):
        "When dealing with a Top-Level window position it absolute lower-right"
        if isinstance(widget, wx.Frame):
            screen = wx.ClientDisplayRect()[2:]
            left,top = widget.ClientToScreenXY(0,0)
            right,bottom = widget.ClientToScreenXY(*widget.GetClientRect()[2:])
            size = self.GetSize()
            xpos = right
            ypos = bottom - size[1]
            self.SetPosition((xpos,ypos))
        else:
            STT.ToolTipWindow.CalculateBestPosition(self, widget)
def CalculateBestPosition(self,widget):
        "When dealing with a Top-Level window position it absolute lower-right"
        if isinstance(widget, wx.Frame):
            screen = wx.ClientDisplayRect()[2:]
            left,top = widget.ClientToScreenXY(0,0)
            right,bottom = widget.ClientToScreenXY(*widget.GetClientRect()[2:])
            size = self.GetSize()
            xpos = right
            ypos = bottom - size[1]
            self.SetPosition((xpos,ypos))
        else:
            STT.ToolTipWindow.CalculateBestPosition(self, widget)
When dealing with a Top-Level window position it absolute lower-right