def indexXY(self, index):
        """Coordinates for the test row at *index*

        Re-implemented from :meth:`AbstractDragView<sparkle.gui.abstract_drag_view.AbstractDragView.indexXY>`
        """
        # just want the top left of row selected
        row = index.row()
        if row == -1:
            row = self.model().rowCount()
        y = self.rowHeight(0)*row
        return 0, y
def indexXY ( self , index ) : row = index . row ( ) if row == - 1 : row = self . model ( ) . rowCount ( ) y = self . rowHeight ( 0 ) * row return 0 , y
Coordinates for the test row at *index*

        Re-implemented from :meth:`AbstractDragView<sparkle.gui.abstract_drag_view.AbstractDragView.indexXY>`