Skip to content

ableton.v3.control_surface.mode.mode (runtime)

Live 12 — Live Object Model & framework reference (descriptions and signatures).

Functions

depends(**dependencies)

nop(*a, **k)

Classes

class CallFunctionMode(Mode)

Methods

__init__(self, on_enter_fn=<function nop at 0x11afcb240>, on_exit_fn=<function nop at 0x11afcb240>, *a, **k)

Initialize self. See help(type(self)) for accurate signature.

enter_mode(self)
leave_mode(self)

class DetailViewController

Methods

__init__(self, application, show_clip=True, *a, **k)

Initialize self. See help(type(self)) for accurate signature.

restore(self)
show(self)

class EnablingAddLayerMode(LayerModeBase)

Methods

__init__(self, parent_task_group=None, *a, **k)

Initialize self. See help(type(self)) for accurate signature.

_get_component(self)
_possibly_disable_component(self)
enter_mode(self)
leave_mode(self)

class LayerModeBase(Mode)

Methods

__init__(self, component=None, layer=None, *a, **k)

Initialize self. See help(type(self)) for accurate signature.

_get_component(self)
enter_mode(self)
leave_mode(self)

class Mode

Methods

__init__(self, /, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

enter_mode(self)
leave_mode(self)

class ModesComponent(Component, Renderable)

Properties

  • active_modes
  • application
  • is_root
  • layer
  • modes
  • parent
  • selected_mode
  • song

Methods

__init__(self, name=None, support_momentary_mode_cycling=True, default_behaviour=None, is_private=False, *a, **k)

Initialize self. See help(type(self)) for accurate signature.

_add_child(self, component)
_add_mode_to_list_and_map(self, name, mode_or_component, behaviour, groups)
_cancel_pop_mode_task(self, mode)
_cancel_push_mode_task(self, mode)
_create_event_handler(self, property_name)
_do_enter_mode(self, name)
_do_leave_mode(self, name)
_do_pop_mode(self, mode)
_do_push_mode(self, mode)
_get_layer_iterable(self)
_get_mode_behaviour(self, name)
_get_mode_color_base_name(self, mode_name)
_grab_all_layers(self)
_handle_mode_selection_control_value(self, value)
_init_state_from_controls(self, renderable_state)
_init_state_from_listenable_properties(self, renderable_state)
_internal_on_enabled_changed(self)
_release_all_layers(self)
_set_enabled_recursive(self, enable)
_tasks(self, parent_task_group=None)
_update_is_enabled(self)
_update_mode_controls(self, selected_mode)
add_any_clipboard_has_content_listener(self, slot, identify_sender=False, *a, **k)
add_children(self, *children)
add_control(self, name, control)
add_enabled_listener(self, slot, identify_sender=False, *a, **k)
add_mode(self, name, mode_or_component, groups=None, behaviour=None, selector=None, index=None)
add_mode_button_control(self, mode_name, behaviour)
add_previous_mode_listener(self, slot, identify_sender=False, *a, **k)
add_selected_mode_listener(self, slot, identify_sender=False, *a, **k)
any_clipboard_has_content_has_listener(self, slot)
any_clipboard_has_content_listener_count(self)
control_base_type(extra_args=None, extra_kws=None, *a, **k)
control_notifications_enabled(self)
cycle_mode(self, delta=1)
disconnect(self)
disconnect_disconnectable(self, slot)
dispatch_event(self, name: 'str', value)
enabled_has_listener(self, slot)
enabled_listener_count(self)
find_disconnectable(self, predicate)
get_mode(self, name)
get_mode_button(self, name)
get_mode_groups(self, name)
has_disconnectable(self, slot)
is_enabled(self, explicit=False)
notify(self, notification: 'Notification[Callable[[Unpack[NotificationParams]], Optional[str]]]', *a: 'Unpack[NotificationParams]')
notify_any_clipboard_has_content(self, *a, **k)
notify_enabled(self, *a, **k)
notify_previous_mode(self, *a, **k)
notify_selected_mode(self, *a, **k)
on_enabled_changed(self)
pop_groups(self, groups)
pop_mode(self, mode, delay=0)
pop_unselected_modes(self)
previous_mode_has_listener(self, slot)
previous_mode_listener_count(self)
push_mode(self, mode, delay=0)
register_clipboard(self)
register_disconnectable(self, slot)
register_disconnectables(self, disconnectables)
register_slot(self, *a, **k)
remove_any_clipboard_has_content_listener(self, slot)
remove_enabled_listener(self, slot)
remove_previous_mode_listener(self, slot)
remove_selected_mode_listener(self, slot)
renderable_state(self)
selected_mode_has_listener(self, slot)
selected_mode_listener_count(self)
set_enabled(self, enable)
suppress_notifications(self)
unregister_disconnectable(self, slot)
update(self)

Attributes

  • _clipboard_component_instances = [] - Built-in mutable sequence.
  • any_clipboard_has_content = False - bool(x) -> bool
  • canonical_parent = None
  • cycle_mode_button = <ableton.v3.control_surface.controls.button.ButtonControl object at 0x13c98fa90>
  • default_behaviour = <ableton.v2.control_surface.mode.ImmediateBehaviour object at 0x13c98fb50>
  • include_in_top_level_state = True - bool(x) -> bool
  • mode_selection_control = <ableton.v3.control_surface.controls.control.SendValueInputControl object at 0x13c98fa10>
  • num_layers = 0 - int([x]) -> integer
  • previous_mode = None

class ShowDetailClipMode(Mode)

Methods

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

Initialize self. See help(type(self)) for accurate signature.

enter_mode(self)
leave_mode(self)