Skip to content

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

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

Functions

Any(*args, **kwds)

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 EventDescription(tuple)

EventDescription(subject, event_name, event_state)

Properties

  • event_name - Alias for field number 1
  • event_state - Alias for field number 2
  • subject - Alias for field number 0

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
  • _field_types = OrderedDict([('subject', typing.Any), ('event_name', <class 'str'>), ('event_state', typing.Union[typing.Any, NoneType])]) - Dictionary that remembers insertion order
  • _fields = ('subject', 'event_name', 'event_state') - Built-in immutable sequence.
  • _fields_defaults = {} - dict() -> new empty dictionary

class NamedTuple

Methods

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

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

Attributes

  • _root = True - bool(x) -> bool