Skip to content

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

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

Functions

NamedTuple(typename, fields=None, /, **kwargs)

Optional(*args, **kwds)

pop_last_mode(component, mode)

select_mode_for_main_view(main_view_name, can_select_now=True)

select_mode_on_event_change(event_description, can_select_now=False)

toggle_mode_on_property_change(event_description, return_to_default=False, can_select_now=False)

Classes

class Any

Methods

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

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

class EventDescription(tuple)

EventDescription(subject, event_name, event_state)

Methods

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

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

_asdict(self)
_make(iterable)

Make a new EventDescription object from a sequence or iterable

_replace(self, /, **kwds)

Return a new EventDescription object replacing specified fields with new values

count(self, value, /)

Return number of occurrences of value.

index(self, value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

Attributes

  • _field_defaults = {'event_state': None} - dict() -> new empty dictionary
  • _fields = ('subject', 'event_name', 'event_state') - Built-in immutable sequence.
  • event_name = _tuplegetter(1, 'Alias for field number 1') - Alias for field number 1
  • event_state = _tuplegetter(2, 'Alias for field number 2') - Alias for field number 2
  • subject = _tuplegetter(0, 'Alias for field number 0') - Alias for field number 0