ableton.v2.control_surface.components.slide (runtime)¶
Live 12 — Live Object Model & framework reference (descriptions and signatures).
Functions¶
clamp(val, minv, maxv)¶
listens(event_path, *a, **k)¶
Classes¶
class Component(ControlManager)¶
Properties¶
applicationis_rootlayerparentsong
Methods¶
__init__(self, name='', parent=None, register_component=None, song=None, layer=None, is_enabled=True, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
_add_child(self, component)¶
_get_layer_iterable(self)¶
_grab_all_layers(self)¶
_internal_on_enabled_changed(self)¶
_release_all_layers(self)¶
_set_enabled_recursive(self, enable)¶
_tasks(self, parent_task_group=None)¶
_update_is_enabled(self)¶
add_children(self, *a)¶
add_control(self, name, control)¶
add_enabled_listener(self, slot, identify_sender=False, *a, **k)¶
control_notifications_enabled(self)¶
disconnect(self)¶
disconnect_disconnectable(self, slot)¶
enabled_has_listener(self, slot)¶
enabled_listener_count(self)¶
find_disconnectable(self, predicate)¶
has_disconnectable(self, slot)¶
is_enabled(self, explicit=False)¶
notify_enabled(self, *a, **k)¶
on_enabled_changed(self)¶
register_disconnectable(self, slot)¶
register_disconnectables(self, disconnectables)¶
register_slot(self, *a, **k)¶
remove_enabled_listener(self, slot)¶
set_enabled(self, enable)¶
unregister_disconnectable(self, slot)¶
update(self)¶
Attributes¶
_has_task_group=False- bool(x) -> bool_layer=Nonecanonical_parent=Noneis_private=False- bool(x) -> boolname=''- str(object='') -> str
class EventObject(CompoundDisconnectable)¶
Methods¶
__init__(self, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
disconnect(self)¶
disconnect_disconnectable(self, slot)¶
find_disconnectable(self, predicate)¶
has_disconnectable(self, slot)¶
register_disconnectable(self, slot)¶
register_disconnectables(self, disconnectables)¶
register_slot(self, *a, **k)¶
unregister_disconnectable(self, slot)¶
class ScrollComponent(Component, Scrollable)¶
Properties¶
applicationis_rootlayerparentscrollablesong
Methods¶
__init__(self, scrollable=None, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
_add_child(self, component)¶
_do_scroll_down(self)¶
_do_scroll_up(self)¶
_ensure_scroll_one_direction(self)¶
_get_layer_iterable(self)¶
_grab_all_layers(self)¶
_internal_on_enabled_changed(self)¶
_make_scroll_task(self, scroll_step)¶
_on_scroll_pressed(self, button, scroll_step, scroll_task)¶
_on_scroll_released(self, scroll_task)¶
_release_all_layers(self)¶
_set_enabled_recursive(self, enable)¶
_tasks(self, parent_task_group=None)¶
_update_is_enabled(self)¶
_update_scroll_buttons(self)¶
add_children(self, *a)¶
add_control(self, name, control)¶
add_enabled_listener(self, slot, identify_sender=False, *a, **k)¶
can_scroll_down(self)¶
can_scroll_up(self)¶
control_notifications_enabled(self)¶
disconnect(self)¶
disconnect_disconnectable(self, slot)¶
enabled_has_listener(self, slot)¶
enabled_listener_count(self)¶
find_disconnectable(self, predicate)¶
has_disconnectable(self, slot)¶
is_enabled(self, explicit=False)¶
notify_enabled(self, *a, **k)¶
on_enabled_changed(self)¶
register_disconnectable(self, slot)¶
register_disconnectables(self, disconnectables)¶
register_slot(self, *a, **k)¶
remove_enabled_listener(self, slot)¶
scroll_down(self)¶
scroll_up(self)¶
set_enabled(self, enable)¶
set_scroll_down_button(self, button)¶
set_scroll_up_button(self, button)¶
unregister_disconnectable(self, slot)¶
update(self)¶
Attributes¶
_has_task_group=False- bool(x) -> bool_layer=None_scrollable=<ableton.v2.control_surface.components.scroll.Scrollable object at 0x13c403e50>canonical_parent=Nonedefault_pager=<ableton.v2.control_surface.components.scroll.Scrollable object at 0x13c403e90>default_scrollable=<ableton.v2.control_surface.components.scroll.Scrollable object at 0x13c403e50>is_private=True- bool(x) -> boolname=''- str(object='') -> strscroll_down_button=<ableton.v2.control_surface.control.button.ButtonControl object at 0x13c403f90>scroll_up_button=<ableton.v2.control_surface.control.button.ButtonControl object at 0x13c403ed0>scrolling_delay=0.3- Convert a string or number to a floating point number, if possible.scrolling_step_delay=0.1- Convert a string or number to a floating point number, if possible.
class Scrollable¶
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
can_scroll_down(self)¶
can_scroll_up(self)¶
scroll_down(self)¶
scroll_up(self)¶
class SlideComponent(Component, Scrollable)¶
Properties¶
applicationis_rootlayerparentsong
Methods¶
__init__(self, slideable=None, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
_add_child(self, component)¶
_get_layer_iterable(self)¶
_grab_all_layers(self)¶
_internal_on_enabled_changed(self)¶
_release_all_layers(self)¶
_scroll_page(self, sign)¶
_scroll_position(self, delta)¶
_set_enabled_recursive(self, enable)¶
_tasks(self, parent_task_group=None)¶
_update_is_enabled(self)¶
add_children(self, *a)¶
add_control(self, name, control)¶
add_enabled_listener(self, slot, identify_sender=False, *a, **k)¶
can_scroll_down(self)¶
can_scroll_page_down(self)¶
can_scroll_page_up(self)¶
can_scroll_up(self)¶
control_notifications_enabled(self)¶
disconnect(self)¶
disconnect_disconnectable(self, slot)¶
enabled_has_listener(self, slot)¶
enabled_listener_count(self)¶
find_disconnectable(self, predicate)¶
has_disconnectable(self, slot)¶
is_enabled(self, explicit=False)¶
notify_enabled(self, *a, **k)¶
on_enabled_changed(self)¶
register_disconnectable(self, slot)¶
register_disconnectables(self, disconnectables)¶
register_slot(self, *a, **k)¶
remove_enabled_listener(self, slot)¶
scroll_down(self)¶
scroll_page_down(self)¶
scroll_page_up(self)¶
scroll_up(self)¶
set_enabled(self, enable)¶
set_scroll_down_button(self, button)¶
set_scroll_page_down_button(self, button)¶
set_scroll_page_up_button(self, button)¶
set_scroll_up_button(self, button)¶
unregister_disconnectable(self, slot)¶
update(self)¶
Attributes¶
_SlideComponent__on_position_changed=None_has_task_group=False- bool(x) -> bool_layer=Nonecanonical_parent=Noneis_private=False- bool(x) -> boolname=''- str(object='') -> str
class Slideable(EventObject)¶
Properties¶
page_lengthpage_offsetpositionposition_count
Methods¶
__init__(self, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.