def _translate(self, widget, amount):
        """ A handler method that aplies a translation to the selected
        permutation.

        Args:
            widget: widget that trigered the event
            amount: numnber of position to translate for
        """
        self.apply_permutation(Permutation.shift(amount))