ableton.v3.control_surface.display.state (runtime)¶
Live 12 — Live Object Model & framework reference (descriptions and signatures).
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.
Optional(*args, **kwds)¶
dataclass(cls=None, /, *, init=True, repr=True, eq=True, order=False, unsafe_hash=False, frozen=False, match_args=True, kw_only=False, slots=False, weakref_slot=False)¶
pformat(object, indent=1, width=80, depth=None, *, compact=False, sort_dicts=True, underscore_numbers=False)¶
Classes¶
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 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 StateFilters¶
StateFilters(key_filter: Callable =
Methods¶
__init__(self, key_filter: Callable = <function StateFilters.<lambda> at 0x13c62c680>, value_filter: Callable = <function StateFilters.<lambda> at 0x13c670cc0>) -> None¶
Initialize self. See help(type(self)) for accurate signature.
key_filter(k)¶
value_filter(v)¶
class listenable_property(listenable_property_base, property)¶
Property attribute.
fget function to be used for getting an attribute value fset function to be used for setting an attribute value fdel function to be used for del'ing an attribute doc docstring
Typical use is to define a managed attribute x:
class C(object): def getx(self): return self._x def setx(self, value): self._x = value def delx(self): del self._x x = property(getx, setx, delx, "I'm the 'x' property.")
Decorators make defining new properties or modifying existing ones easy:
class C(object): @property def x(self): "I am the 'x' property." return self._x @x.setter def x(self, value): self._x = value @x.deleter def x(self): del self._x
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
deleter(...)¶
Descriptor to obtain a copy of the property with a different deleter.
getter(...)¶
Descriptor to obtain a copy of the property with a different getter.
managed(default_value)¶
set_property_name(self, name)¶
setter(...)¶
Descriptor to obtain a copy of the property with a different setter.
Attributes¶
fdel=<member 'fdel' of 'property' objects>fget=<member 'fget' of 'property' objects>fset=<member 'fset' of 'property' objects>
class ref¶
Methods¶
__call__(self, /, *args, **kwargs)¶
Call self as a function.
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.