'Return the button (:class:`LineEditButton`) for the action
at `position`.'

def button(self, position):

    self._checkPosition(position)
    slot = self.__actions[(position - 1)]
    if slot:
        return slot.button
    else:
        return None
