Skip to content

Push2.device_navigation

Classes

class RackBank2Device(EventObject)

Bases: EventObject

Attributes

  • _RackBank2Device__on_is_active_changed

__init__(self, rack_device, *a, **k)

rack_device(self)

name(self)

is_active(self)

__on_is_active_changed(self)

can_have_drum_pads(self)

can_have_chains(self)

class_name(self)

parameters(self)

bank_index(self)

canonical_parent(self)

_live_ptr(self)

class DeviceChainStateWatcher(EventObject)

Bases: EventObject

Attributes

  • _DeviceChainStateWatcher__on_items_changed
  • _DeviceChainStateWatcher__on_is_active_changed
  • _DeviceChainStateWatcher__on_chain_color_index_changed
  • _DeviceChainStateWatcher__on_mute_changed

__init__(self, device_navigation, *a, **k)

__on_items_changed(self, *a)

__on_is_active_changed(self, device)

__on_chain_color_index_changed(self, chain)

__on_mute_changed(self)

_navigation_items(self)

_devices(self)

_update_listeners_and_notify(self)

class MoveDeviceComponent(Component)

Bases: Component

Attributes

  • MOVE_DELAY = 0.1

__init__(self, *a, **k)

set_device(self, device)

move_encoders(self, value, encoder)

_disabled_encoders(self)

_disable_all_encoders(self)

_enable_all_encoders(self)

_move_right(self)

_move_left(self)

_move_out(self, rack, move_behind)

_move_in(self, rack, move_to_end)

class DeviceNavigationComponent(DeviceNavigationComponentBase)

Bases: DeviceNavigationComponentBase

Attributes

  • _DeviceNavigationComponent__on_device_item_state_changed
  • _DeviceNavigationComponent__on_items_changed
  • _DeviceNavigationComponent__on_bank_selection_closed

__init__(self, device_bank_registry, banking_info, delete_handler, track_list_component, *a, **k)

modes(self)

_in_device_enabling_mode(self)

_on_select_button_pressed(self, button)

_on_select_button_released_immediately(self, button)

_on_select_button_pressed_delayed(self, button)

_on_select_button_released(self, button)

_toggle_device(self, device)

_(self, drum_pad)

__on_device_item_state_changed(self)

__on_items_changed(self)

_create_slot(self, index, item, nesting_level)

moving(self)

device_selection_update_allowed(self)

_color_for_button(self, button_index, is_selected)

_begin_move_device(self, device)

_end_move_device(self)

request_drum_pad_selection(self)

unfold_current_drum_pad(self)

sync_selection_to_selected_device(self)

is_drum_pad_selected(self)

is_drum_pad_unfolded(self)

_current_track(self)

_should_select_drum_pad(self)

_current_drum_pad(self)

_update_selected_track(self)

_restore_selection(self, selected_track)

back_to_top(self)

selected_object(self)

_do_select_item(self, device)

_(self, bank_2_device)

_(self, pad)

_first_device_on_pad(self, drum_pad)

_appoint_device(self, device)

_on_reselecting_object(self, device)

_(self, bank_2_device)

_(self, drum_pad)

_on_pressed_delayed(self, device)

_(self, bank_2_device)

_(self, _)

_delete_item(self, device)

_(self, pad)

_show_chains(self, device)

__on_bank_selection_closed(self)

_update_device(self)

_is_drum_rack_selected(self)

_find_top_level_instrument(self)

_device_selection_in_track_changed(self)

_toggle(self, item)

_can_update_device_selection(self, new_selection)

_update_item_provider(self, selection)

Functions

singledispatchmethod(func)

find_drum_pad(items)

is_active_element(device)

_(drum_pad)

set_enabled(device, is_on)

is_on(device)

is_bank_rack_2(device)

is_rack_with_bank_2(device)

collect_devices(component, track_or_chain, nesting_level)

delete_device(device)

drum_rack_for_pad(drum_pad)