(self)
Reposition the window if needed.
Reposition the window if needed.
Reposition the window if needed .
def position_window(self):
        "Reposition the window if needed."
        curline = int(self.anchor_widget.index("insert").split('.')[0])
        if curline == self.lastline:
            return
        self.lastline = curline
        self.anchor_widget.see("insert")
        super(CalltipWindow, self).position_window()
def position_window ( self ) : curline = int ( self . anchor_widget . index ( "insert" ) . split ( '.' ) [ 0 ] ) if curline == self . lastline : return self . lastline = curline self . anchor_widget . see ( "insert" ) super ( CalltipWindow , self ) . position_window ( )