'Get the position of this item within the parent\'s component
list, reverse method for index()'

def pos(self):

    if self.parent:
        return self.parent.index(self)
    else:
        return None
