def METHOD_NAME(self):
    """Returns the row on which this item is located."""
    if self._parent is not None:
        r = self._parent.children().index(self)
        # logging.debug("{0} is on row:{1}".format(self.name, r))
        return r
    return 0