(self)
return event, args
Return the current interaction event corresponding to the current
        user action.
Return the current interaction event corresponding to the current
        user action.
Return the current interaction event corresponding to the current user action .
def get_current_event(self):
        """Return the current interaction event corresponding to the current
        user action."""
        # get the current interaction mode
        binding = self.binding_manager.get()
        
        # get current user action
        action, key, key_modifier, parameters = self.get_current_action()
        
        # get the associated interaction event
        event, param_getter = binding.get(action, key=key,
                                                  key_modifier=key_modifier)
        
        # get the parameter object by calling the param getter
        if param_getter is not None and parameters is not None:
            args = param_getter(parameters)
        else:
            args = None
            
        return event, args
def get_current_event ( self ) : # get the current interaction mode binding = self . binding_manager . get ( ) # get current user action action , key , key_modifier , parameters = self . get_current_action ( ) # get the associated interaction event event , param_getter = binding . get ( action , key = key , key_modifier = key_modifier ) # get the parameter object by calling the param getter if param_getter is not None and parameters is not None : args = param_getter ( parameters ) else : args = None return event , args