ableton.v2.control_surface.components.item_lister¶
Classes¶
class SimpleItemSlot(EventObject)¶
Bases: EventObject
Attributes¶
_SimpleItemSlot__on_name_changed_SimpleItemSlot__on_color_index_changed
__init__(self, item, name, nesting_level, *a, **k)¶
name(self)¶
item(self)¶
nesting_level(self)¶
color_index(self)¶
__on_name_changed(self)¶
__on_color_index_changed(self)¶
class ItemSlot(SimpleItemSlot)¶
Bases: SimpleItemSlot
Attributes¶
_live_ptr
__init__(self, item, nesting_level, **k)¶
__eq__(self, other)¶
__ne__(self, other)¶
__hash__(self)¶
class ItemProvider(EventObject)¶
Bases: EventObject
items(self)¶
selected_item(self)¶
class ItemListerComponentBase(Component)¶
Bases: Component
Attributes¶
_ItemListerComponentBase__on_items_changed
__init__(self, item_provider, num_visible_items, *a, **k)¶
reset_offset(self)¶
items(self)¶
item_provider(self)¶
item_offset(self)¶
item_offset(self, offset)¶
can_scroll_left(self)¶
can_scroll_right(self)¶
scroll_left(self)¶
scroll_right(self)¶
_adjust_offset(self)¶
update_items(self)¶
_create_slots(self)¶
_create_slot(self, index, item, nesting_level)¶
__on_items_changed(self)¶
_on_items_changed(self)¶
class ScrollComponent(Component)¶
Bases: Component
button(self, button)¶
class ScrollOverlayComponent(Component)¶
Bases: Component
Attributes¶
scroll_left_layerscroll_right_layer_ScrollOverlayComponent__on_scroll_left_ScrollOverlayComponent__on_scroll_right
__init__(self, *a, **k)¶
can_scroll_left(self)¶
can_scroll_right(self)¶
scroll_left(self)¶
scroll_right(self)¶
update_scroll_buttons(self)¶
__on_scroll_left(self)¶
__on_scroll_right(self)¶
update(self)¶
class ItemListerComponent(ItemListerComponentBase)¶
Bases: ItemListerComponentBase
Attributes¶
color_class_name = 'ItemNavigation'scroll_left_layerscroll_right_layer_ItemListerComponent__on_items_changed_ItemListerComponent__on_selection_changed