Exemplo n.º 1
0
    def perform(self, event):
        """ Perform the action. """

        get_script_manager().start_recording()
Exemplo n.º 2
0
    def __init__(self, **traits):
        """ Initialise the instance. """

        super(StopRecordingAction, self).__init__(**traits)

        get_script_manager().on_trait_change(self._on_recording, "recording")