ableton.v3.control_surface.elements.display_line (runtime)¶
Live 12 — Live Object Model & framework reference (descriptions and signatures).
Module constants¶
DisplayDataType = ~DisplayDataType
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.
Union(*args, **kwds)¶
updating_display(update_value=None)¶
Classes¶
class Any¶
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
class DisplayLineElement(NotifyingControlElement, Generic)¶
Properties¶
grabbedresource
Methods¶
ProxiedInterface(outer=None, *a, **k)¶
__init__(self, display_fn: Callable[[~DisplayDataType], Any], formatting_fn: Callable[[ableton.v3.control_surface.display.text.Text], ~DisplayDataType] = <function DisplayLineElement.<lambda> at 0x13c682840>, default_formatting='', *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
_apply_default_formatting(self, text: ableton.v3.control_surface.display.text.Text)¶
_do_display(self, message: Union[ableton.v3.control_surface.display.text.Text, str])¶
_on_resource_lost(self, client)¶
_on_resource_received(self, client, *a, **k)¶
_redisplay_last_native_content(self)¶
_resource(self)¶
_resource_type(on_received_callback=None, on_lost_callback=None, *a, **k)¶
_tasks(self, parent_task_group=None)¶
add_value_listener(self, slot, identify_sender=False, *a, **k)¶
Called when the control element receives a MIDI value from the hardware
clear_send_cache(self)¶
disconnect(self)¶
disconnect_disconnectable(self, slot)¶
display_message(self, text)¶
find_disconnectable(self, predicate)¶
has_disconnectable(self, slot)¶
notify_ownership_change(self, client, grabbed, element_ownership_handler=None)¶
notify_value(self, *a, **k)¶
Called when the control element receives a MIDI value from the hardware
proxied_interface(self)¶
register_disconnectable(self, slot)¶
register_disconnectables(self, disconnectables)¶
register_slot(self, *a, **k)¶
remove_value_listener(self, slot)¶
Called when the control element receives a MIDI value from the hardware
reset(self)¶
reset_state(self)¶
send_midi(self, message)¶
unregister_disconnectable(self, slot)¶
value_has_listener(self, slot)¶
Called when the control element receives a MIDI value from the hardware
value_listener_count(self)¶
Called when the control element receives a MIDI value from the hardware
Attributes¶
_has_resource=False- bool(x) -> bool_has_task_group=False- bool(x) -> bool_is_protocol=False- bool(x) -> boolcanonical_parent=Nonename=''- str(object='') -> stroptimized_send_midi=True- bool(x) -> bool
class Generic¶
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
Attributes¶
_is_protocol=False- bool(x) -> bool
class NotifyingControlElement(EventObject, ControlElement)¶
Properties¶
resource
Methods¶
ProxiedInterface(outer=None, *a, **k)¶
__init__(self, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
_on_resource_lost(self, client)¶
_on_resource_received(self, client, *a, **k)¶
_resource(self)¶
_resource_type(on_received_callback=None, on_lost_callback=None, *a, **k)¶
_tasks(self, parent_task_group=None)¶
add_value_listener(self, slot, identify_sender=False, *a, **k)¶
Called when the control element receives a MIDI value from the hardware
clear_send_cache(self)¶
disconnect(self)¶
disconnect_disconnectable(self, slot)¶
find_disconnectable(self, predicate)¶
has_disconnectable(self, slot)¶
notify_ownership_change(self, client, grabbed, element_ownership_handler=None)¶
notify_value(self, *a, **k)¶
Called when the control element receives a MIDI value from the hardware
proxied_interface(self)¶
register_disconnectable(self, slot)¶
register_disconnectables(self, disconnectables)¶
register_slot(self, *a, **k)¶
remove_value_listener(self, slot)¶
Called when the control element receives a MIDI value from the hardware
reset(self)¶
reset_state(self)¶
send_midi(self, message)¶
unregister_disconnectable(self, slot)¶
value_has_listener(self, slot)¶
Called when the control element receives a MIDI value from the hardware
value_listener_count(self)¶
Called when the control element receives a MIDI value from the hardware
Attributes¶
_has_resource=False- bool(x) -> bool_has_task_group=False- bool(x) -> boolcanonical_parent=Nonename=''- str(object='') -> stroptimized_send_midi=True- bool(x) -> bool
class Text(UserString)¶
All the operations on a read-only sequence.
Concrete subclasses must override new or init, getitem, and len.
Methods¶
ContentWidth()¶
Justification(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
__init__(self, string: str = '', justification: Optional[ableton.v3.control_surface.display.text.Text.Justification] = None, max_width: Union[int, ableton.v3.control_surface.display.text.Text.ContentWidth, NoneType] = None)¶
Initialize self. See help(type(self)) for accurate signature.
as_ascii(self, adjust_string_fn: Callable[[str, int], str] = <function adjust_string at 0x13c16a020>) -> Tuple[int, ...]¶
as_string(self, adjust_string_fn: Callable[[str, int], str] = <function adjust_string at 0x13c16a020>) -> str¶
capitalize(self)¶
casefold(self)¶
center(self, width, *args)¶
count(self, sub, start=0, end=9223372036854775807)¶
S.count(value) -> integer -- return number of occurrences of value
encode(self, encoding='utf-8', errors='strict')¶
endswith(self, suffix, start=0, end=9223372036854775807)¶
expandtabs(self, tabsize=8)¶
find(self, sub, start=0, end=9223372036854775807)¶
format(self, /, *args, **kwds)¶
format_map(self, mapping)¶
index(self, sub, start=0, end=9223372036854775807)¶
S.index(value, [start, [stop]]) -> integer -- return first index of value. Raises ValueError if the value is not present.
Supporting start and stop arguments is optional, but recommended.
isalnum(self)¶
isalpha(self)¶
isascii(self)¶
isdecimal(self)¶
isdigit(self)¶
isidentifier(self)¶
islower(self)¶
isnumeric(self)¶
isprintable(self)¶
isspace(self)¶
istitle(self)¶
isupper(self)¶
join(self, seq)¶
ljust(self, width, *args)¶
lower(self)¶
lstrip(self, chars=None)¶
maketrans(...)¶
Return a translation table usable for str.translate().
If there is only one argument, it must be a dictionary mapping Unicode ordinals (integers) or characters to Unicode ordinals, strings or None. Character keys will be then converted to ordinals. If there are two arguments, they must be strings of equal length, and in the resulting dictionary, each character in x will be mapped to the character at the same position in y. If there is a third argument, it must be a string, whose characters will be mapped to None in the result.
partition(self, sep)¶
removeprefix(self, prefix, /)¶
removesuffix(self, suffix, /)¶
replace(self, old, new, maxsplit=-1)¶
rfind(self, sub, start=0, end=9223372036854775807)¶
rindex(self, sub, start=0, end=9223372036854775807)¶
rjust(self, width, *args)¶
rpartition(self, sep)¶
rsplit(self, sep=None, maxsplit=-1)¶
rstrip(self, chars=None)¶
split(self, sep=None, maxsplit=-1)¶
splitlines(self, keepends=False)¶
startswith(self, prefix, start=0, end=9223372036854775807)¶
strip(self, chars=None)¶
swapcase(self)¶
title(self)¶
translate(self, *args)¶
upper(self)¶
zfill(self, width)¶
Attributes¶
_abc_impl=<_abc._abc_data object at 0x11af308c0>- Internal state held by ABC machinery.
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.