Пример #1
0
 def realinit(self, parent):
     FaderfoxComponent.realinit(self, parent)
     self.on_track_selected_callback = lambda: self.on_track_selected()
     self.parent.song().view.add_selected_track_listener(
         self.on_track_selected_callback)
     self.track_selected = 0
     self.lv1_track_idx = -1
Пример #2
0
 def realinit(self, parent):
     FaderfoxComponent.realinit(self, parent)
     self.log('device controller %s' % parent)
     self.device = None
     if hasattr(self.parent.song(), 'appointed_device'):
         self.device = self.parent.song().appointed_device
     self.log('device %s' % self.device)
     self.device_locked = False
     self.bank = 0
     self.show_bank = False
     self.selected_clip = None
     self.on_track_selected_callback = lambda : self.on_track_selected()
     self.parent.song().view.add_selected_track_listener(self.on_track_selected_callback)
     self.parent.song().view.add_detail_clip_listener(self.on_selected_clip)
     self.selected_track = None
Пример #3
0
 def realinit(self, parent):
     FaderfoxComponent.realinit(self, parent)
 def realinit(self, parent):
     FaderfoxComponent.realinit(self, parent)
Пример #5
0
 def realinit(self, parent):
     FaderfoxComponent.realinit(self, parent)
     self.on_track_selected_callback = lambda : self.on_track_selected()
     self.parent.song().view.add_selected_track_listener(self.on_track_selected_callback)
     self.track_selected = 0
     self.lv1_track_idx = -1