(self)
return action, key, key_modifier, parameters
Return the current user action with the action parameters.
Return the current user action with the action parameters.
Return the current user action with the action parameters .
def get_current_action(self):
        """Return the current user action with the action parameters."""
        # get current action
        action = self.user_action_generator.action
        
        # get current key if the action was KeyPress
        key = self.user_action_generator.key
        
        # get key modifier
        key_modifier = self.user_action_generator.key_modifier
        
        # retrieve action parameters and normalize using the window size
        parameters = self.normalize_action_parameters(
                        self.user_action_generator.get_action_parameters())
        return action, key, key_modifier, parameters
def get_current_action ( self ) : # get current action action = self . user_action_generator . action # get current key if the action was KeyPress key = self . user_action_generator . key # get key modifier key_modifier = self . user_action_generator . key_modifier # retrieve action parameters and normalize using the window size parameters = self . normalize_action_parameters ( self . user_action_generator . get_action_parameters ( ) ) return action , key , key_modifier , parameters