Skip to content

Push2.browser_component

Module constants

  • NAVIGATION_COLORS

Classes

class LoadNeighbourOverlayComponent(Component)

Bases: Component

Attributes

  • load_next_button
  • load_previous_button

button(self, button)

button(self, button)

can_load_next(self)

can_load_next(self, can_load_next)

can_load_previous(self)

can_load_previous(self, can_load_previous)

class WrappedLoadableBrowserItem(BrowserItem)

Bases: BrowserItem

__init__(self, *a, **k)

is_selected(self)

class FolderBrowserItem(BrowserItem)

Bases: BrowserItem

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

is_selected(self)

children(self)

class PluginPresetBrowserItem(BrowserItem)

Bases: BrowserItem

__init__(self, preset_name, preset_index, vst_device, *a, **k)

is_selected(self)

uri(self)

class PluginBrowserItem(BrowserItem)

Bases: BrowserItem

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

children(self)

class CannotFocusListError(Exception)

Bases: Exception

class BrowserComponent(Component, Messenger)

Bases: Component, Messenger

Attributes

  • NUM_ITEMS_PER_COLUMN = 6
  • NUM_VISIBLE_BROWSER_LISTS = 7
  • NUM_COLUMNS_IN_EXPANDED_LIST = 3
  • EXPAND_LIST_TIME = 1.5
  • REVEAL_PREVIEW_LIST_TIME = 0.2
  • MIN_TIME = 0.6
  • MAX_TIME = 1.4
  • MIN_TIME_TEXT_LENGTH = 30
  • MAX_TIME_TEXT_LENGTH = 70
  • scrolling
  • horizontal_navigation
  • list_offset
  • can_enter
  • can_exit
  • context_color_index
  • context_text

__init__(self, preferences, commit_model_changes, selection, main_modes_ref, *a, **k)

up_button(self, button)

up_button(self, button)

down_button(self, button)

down_button(self, button)

right_button(self, button)

right_button(self, button)

left_button(self, button)

left_button(self, button)

open_button(self, button)

back_button(self, button)

scroll_encoders(self, encoder)

scroll_encoders(self, encoders)

scroll_encoders(self, value, encoder)

scroll_focused_encoder(self, value, encoder)

scroll_focused_encoder(self, encoder)

scroll_focused_encoder(self, encoder)

_on_encoder_value(self, value)

_on_encoder_touched(self)

_on_encoder_released(self)

_get_list_index_for_encoder(self, encoder)

load_button(self, button)

prehear_button(self, toggled, button)

close_button(self, button)

lists(self)

focused_list_index(self)

prehear_enabled(self)

focused_list(self)

focused_item(self)

expanded(self)

load_neighbour_overlay(self)

should_widen_focused_item(self)

context_display_type(self)

disconnect(self)

expanded(self, expanded)

_on_selected_track_color_index_changed(self)

_on_selected_track_name_changed(self)

_on_detail_clip_name_changed(self)

_on_hotswap_target_changed(self)

_on_focused_item_changed(self)

browse_for_audio_clip(self)

_switched_to_empty_pad(self)

_focus_list_with_index(self, index, crop)

_on_focused_selection_changed(self)

_get_actual_item(self, item)

_previous_can_be_loaded(self)

_next_can_be_loaded(self)

_on_load_next(self)

_on_load_previous(self)

_update_load_neighbour_overlay_visibility(self)

_load_selected_item(self)

_show_load_notification(self, item)

_make_notification_text(self, browser_item)

_load_item(self, item)

_insert_right_of_selected(self)

_prehear_selected_item(self)

_stop_prehear(self)

_update_navigation_buttons(self)

_update_scrolling(self)

_update_horizontal_navigation(self)

_update_context(self)

_enter_selected_item(self)

_exit_selected_item(self)

_can_auto_expand(self)

_update_auto_expand(self)

_update_list_offset(self)

_replace_preview_list_by_task(self)

_finish_preview_list_task(self)

_replace_preview_list(self)

_append_browser_list(self, children_iterator, limit, enable_wrapping)

_crop_browser_lists(self, length)

_make_root_browser_items(self)

_content_cache_is_valid(self)

_invalidate_content_cache(self)

_update_content_cache(self)

_update_root_items(self)

_select_hotswap_target(self, list_index)

num_preview_items(self)

update(self)

_wrap_item(self, item)

_wrap_device_item(self, item)

_is_hotswap_target_plugin(self, item)

_wrap_hotswapped_plugin_item(self, item)

class TrackBrowserItem(BrowserItem)

Bases: BrowserItem

Attributes

  • filter_type

create_track(self, song)

class MidiTrackBrowserItem(TrackBrowserItem)

Bases: TrackBrowserItem

Attributes

  • filter_type

__init__(self, *a, **k)

create_track(self, song)

class AudioTrackBrowserItem(TrackBrowserItem)

Bases: TrackBrowserItem

Attributes

  • filter_type

__init__(self, *a, **k)

create_track(self, song)

class ReturnTrackBrowserItem(TrackBrowserItem)

Bases: TrackBrowserItem

Attributes

  • filter_type

__init__(self, *a, **k)

create_track(self, song)

class DefaultTrackBrowserItem(BrowserItem)

Bases: BrowserItem

__init__(self, *a, **k)

class NewTrackBrowserComponent(BrowserComponent)

Bases: BrowserComponent

__init__(self, *a, **k)

_make_root_browser_items(self)

disconnect(self)

browse_for_audio_clip(self)

context_display_type(self)

_update_root_content(self)

_update_root_items(self)

_update_filter_type(self)

_set_filter_type(self, filter_type)

_update_context(self)

_load_item(self, item)

_make_notification_text(self, browser_item)

_selected_track_index(self)

_selected_track_item(self)

_on_root_list_selection_changed(self)

class UserFilesBrowserItem(BrowserItem)

Bases: BrowserItem

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

is_selected(self)

children(self)

class CollectionsBrowserItem(BrowserItem)

Bases: BrowserItem

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

is_selected(self)

children(self)

Functions

wrap_item(item, icon, **k)

wrap_items(items, icon, enable_wrapping)

make_root_browser_items(browser, filter_type)