def key_down(self, event):
        """Handles key press.
        Captured events are ENTER and SPACE key press.
        :param event: object: The event being processed."""
        key = event.key
        if key in (K_RETURN, K_KP_ENTER, K_SPACE):
            self.call_handler("action")
        else:
            Widget.key_down(self, event)
Handles key press.
        Captured events are ENTER and SPACE key press.
        :param event: object: The event being processed.
albow/controls.py