ableton.v3.control_surface.display.type_decl (runtime)¶
Live 12 — Live Object Model & framework reference (descriptions and signatures).
Module constants¶
ContentType = ~ContentTypeDISCONNECT_EVENT = Event(name='disconnect', origin=None, value=None)INIT_EVENT = Event(name='init', origin=None, value=None)
Functions¶
Callable(*args, **kwargs)¶
Deprecated alias to collections.abc.Callable.
Callable[[int], str] signifies a function that takes a single parameter of type int and returns a str.
The subscription syntax must always be used with exactly two values: the argument list and the return type. The argument list must be a list of types, a ParamSpec, Concatenate or ellipsis. The return type must be a single type.
There is no syntax to indicate optional or keyword arguments; such function types are rarely used as callback types.
NamedTuple(typename, fields=None, /, **kwargs)¶
Render(*args, **kwargs)¶
Classes¶
class Any¶
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
class Event(tuple)¶
Event(name, origin, value)
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
_asdict(self)¶
_make(iterable)¶
Make a new Event object from a sequence or iterable
_replace(self, /, **kwds)¶
Return a new Event 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={}- dict() -> new empty dictionary_fields=('name', 'origin', 'value')- Built-in immutable sequence.name=_tuplegetter(0, 'Alias for field number 0')- Alias for field number 0origin=_tuplegetter(1, 'Alias for field number 1')- Alias for field number 1value=_tuplegetter(2, 'Alias for field number 2')- Alias for field number 2
class State(EventObject)¶
Methods¶
__init__(self)¶
Initialize self. See help(type(self)) for accurate signature.
add_notification_visible_listener(self, slot, identify_sender=False, *a, **k)¶
as_dict(instance, state_filters=StateFilters(key_filter=<function StateFilters.<lambda> at 0x13c62c680>, value_filter=<function State.<lambda> at 0x13c671300>))¶
disconnect(self)¶
disconnect_disconnectable(self, slot)¶
find_disconnectable(self, predicate)¶
get_repr_data(self)¶
has_disconnectable(self, slot)¶
notification_visible_has_listener(self, slot)¶
notification_visible_listener_count(self)¶
notify_notification_visible(self, *a, **k)¶
register_disconnectable(self, slot)¶
register_disconnectables(self, disconnectables)¶
register_slot(self, *a, **k)¶
remove_notification_visible_listener(self, slot)¶
set_delayed(self, attr_name: str, value, delay_time: Optional[float])¶
trigger_timers(self, from_test=False)¶
unregister_disconnectable(self, slot)¶
Attributes¶
notification_visible=False- bool(x) -> boolrepr_filters=StateFilters(key_filter=<function StateFilters.<lambda> at 0x13c62c680>, value_filter=<function StateFilters.<lambda> at 0x13c670cc0>)- StateFilters(key_filter: Callable =at 0x13c62c680>, value_filter: Callable = at 0x13c670cc0>)
class TypeVar(_Final, _Immutable, _BoundVarianceMixin, _PickleUsingNameMixin)¶
Methods¶
__init__(self, name, *constraints, bound=None, covariant=False, contravariant=False)¶
Initialize self. See help(type(self)) for accurate signature.