(self)
return row, col
Get the exact position of the plugin widget in the placeholder (row
        number, col number).

        :return tuple: Tuple of row and col numbers.
Get the exact position of the plugin widget in the placeholder (row
        number, col number).
Get the exact position of the plugin widget in the placeholder ( row number col number ) .
def get_position(self):
        """Get the exact position of the plugin widget in the placeholder (row
        number, col number).

        :return tuple: Tuple of row and col numbers.
        """
        col = self.position % self.placeholder.cols
        row = int(
            self.position / self.placeholder.cols
        ) + (1 if col > 0 else 0)
        if col == 0:
            col = self.placeholder.cols

        return row, col
def get_position ( self ) : col = self . position % self . placeholder . cols row = int ( self . position / self . placeholder . cols ) + ( 1 if col > 0 else 0 ) if col == 0 : col = self . placeholder . cols return row , col