Lines Matching refs:action
29 …def __init__(self, action, exec_order=DEFAULT_ACTION_ORDER, global_action=True, log_calls = False): argument
31 self.__name__ = action.__name__
32 def logged_action(action): argument
35 return action(sp_layout, sp, args)
37 self.action = logged_action(action) if log_calls is True else action
50 return self.action(sp_layout, sp, args)
71 def append_action(action): argument
72 action = _ConfiguredAction(action, exec_order, global_action, log_calls)
73 bisect.insort(SpSetupActions.actions, action)
74 return action
90 def append_called(action, sp, args :dict): argument
94 for action in SpSetupActions.actions:
97 if action.global_action:
99 args = action(sp_layout, scope, args)
100 args = append_called(action, scope, args)
105 args = action(sp_layout, sp, args)
106 args = append_called(action, sp, args)