Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(0)  |  Derive(7)  |  Import(3)

src/a/b/AbletonLive9_RemoteScripts-HEAD/Push/Actions.py   AbletonLive9_RemoteScripts(Download)
from _Framework.Dependency import depends
from MessageBoxComponent import Messenger
from ActionWithOptionsComponent import ActionWithSettingsComponent, OptionsComponent
from ClipControlComponent import convert_length_to_bars_beats_sixteenths
from BrowserModes import BrowserAddEffectMode
class CaptureAndInsertSceneComponent(ActionWithSettingsComponent, Messenger):
 
    def post_trigger_action(self):
        try:
            self.song().capture_and_insert_scene()
class DuplicateDetailClipComponent(ActionWithSettingsComponent, Messenger):
 
    def post_trigger_action(self):
        view = self.song().view
        clip = view.detail_clip
class DuplicateLoopComponent(ActionWithSettingsComponent, Messenger):
 
    def __init__(self, *a, **k):
        super(DuplicateLoopComponent, self).__init__(*a, **k)
        self._on_detail_clip_changed.subject = self.song().view
class DeleteSelectedClipComponent(ActionWithSettingsComponent, Messenger):
    """
    Component that deletes the selected clip when tapping
    """
 

src/a/b/AbletonLive9_RemoteScripts-HEAD/Push/UserSettingsComponent.py   AbletonLive9_RemoteScripts(Download)
from _Framework.SubjectSlot import subject_slot_group, subject_slot, SubjectEvent
from _Framework.Util import forward_property
from ActionWithOptionsComponent import ActionWithSettingsComponent
import Sysex
 
class UserComponent(ActionWithSettingsComponent):
    __subject_events__ = (SubjectEvent(name='mode', doc=' Called when the mode changes '), SubjectEvent(name='before_mode_sent', doc=' Called before the mode is sent'), SubjectEvent(name='after_mode_sent', doc=' Called after the mode is sent '))
    settings_layer = forward_property('_settings')('layer')
    settings = forward_property('_settings')('settings')
 

src/a/b/AbletonLive9_RemoteScripts-HEAD/Push/QuantizationComponent.py   AbletonLive9_RemoteScripts(Download)
from _Framework.SubjectSlot import subject_slot
from _Framework.Util import clamp, forward_property, recursive_map
from ActionWithOptionsComponent import ActionWithSettingsComponent
from consts import MessageBoxText
from MessageBoxComponent import Messenger
class QuantizationComponent(ActionWithSettingsComponent, Messenger):
    settings_layer = forward_property('_settings')('layer')
 
    def __init__(self, *a, **k):
        super(QuantizationComponent, self).__init__(*a, **k)