def _create_view_control(self):
     self._view_control = NotifyingViewControlComponent(
         name='Track_Scroller',
         is_enabled=False,
         track_provider=(self._session_ring),
         layer=Layer(prev_track_button='left_button',
                     next_track_button='right_button'))
     self._view_control.set_enabled(True)
     self._session_ring_selection_linking = self.register_disconnectable(
         SessionRingSelectionLinking(
             session_ring=(self._session_ring),
             selection_changed_notifier=(self._view_control)))
Exemplo n.º 2
0
 def _create_view_control(self):
     self._view_control = NotifyingViewControlComponent(
         name=b'View_Control',
         is_enabled=False,
         track_provider=self._session_ring,
         enable_skinning=False,
         layer=Layer(next_track_button=b'right_button',
                     prev_track_button=b'left_button',
                     next_scene_button=b'down_button',
                     prev_scene_button=b'up_button'))
     self._view_control.set_enabled(True)
     self._session_ring_selection_linking = self.register_disconnectable(
         SessionRingSelectionLinking(
             session_ring=self._session_ring,
             selection_changed_notifier=self._view_control))