ableton.v3.control_surface.display.text (runtime)¶
Live 11 — Live Object Model & framework reference (descriptions and signatures).
Functions¶
Callable(*args, **kwargs)¶
Callable type; Callable[[int], str] is a function of (int) -> 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 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)¶
Tuple(*args, **kwargs)¶
Tuple type; Tuple[X, Y] is the cross-product type of X and Y.
Example: Tuple[T1, T2] is a tuple of two elements corresponding to type variables T1 and T2. Tuple[int, float, str] is a tuple of an int, a float and a string.
To specify a variable-length tuple of homogeneous type, use Tuple[T, ...].
Union(*args, **kwds)¶
adjust_string(original, length)¶
as_ascii(string, ascii_translations={' ': 32, '!': 33, '"': 34, '#': 35, '$': 36, '%': 37, '&': 38, "'": 39, '(': 40, ')': 41, '*': 42, '+': 43, ',': 44, '-': 45, '.': 46, '/': 47, '0': 48, '1': 49, '2': 50, '3': 51, '4': 52, '5': 53, '6': 54, '7': 55, '8': 56, '9': 57, ':': 58, ';': 59, '<': 60, '=': 61, '>': 62, '?': 63, '@': 64, 'A': 65, 'B': 66, 'C': 67, 'D': 68, 'E': 69, 'F': 70, 'G': 71, 'H': 72, 'I': 73, 'J': 74, 'K': 75, 'L': 76, 'M': 77, 'N': 78, 'O': 79, 'P': 80, 'Q': 81, 'R': 82, 'S': 83, 'T': 84, 'U': 85, 'V': 86, 'W': 87, 'X': 88, 'Y': 89, 'Z': 90, '[': 91, '\\': 92, ']': 93, '^': 94, '_': 95, '': 96, 'a': 97, 'b': 98, 'c': 99, 'd': 100, 'e': 101, 'f': 102, 'g': 103, 'h': 104, 'i': 105, 'j': 106, 'k': 107, 'l': 108, 'm': 109, 'n': 110, 'o': 111, 'p': 112, 'q': 113, 'r': 114, 's': 115, 't': 116, 'u': 117, 'v': 118, 'w': 119, 'x': 120, 'y': 121, 'z': 122, '{': 123, '|': 124, '}': 125, '~': 126, '♯': 35})`¶
Classes¶
class Enum¶
An enumeration.
class Text(UserString)¶
Methods¶
ContentWidth()¶
Justification(value, names=None, *, module=None, qualname=None, type=None, start=1)¶
An enumeration.
__init__(self, string: str = '', justification: Union[ableton.v3.control_surface.display.text.Text.Justification, NoneType] = 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 0x16315bf28>) -> Tuple[int, ...]¶
as_string(self, adjust_string_fn: Callable[[str, int], str] = <function adjust_string at 0x16315bf28>) -> str¶
capitalize(self)¶
casefold(self)¶
center(self, width, *args)¶
count(self, sub, start=0, end=9223372036854775807)¶
encode(self, encoding=None, errors=None)¶
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)¶
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(x, y=None, z=None, /)¶
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)¶
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_data object at 0x1639e23f0>
class UserString(Sequence)¶
Methods¶
__init__(self, seq)¶
Initialize self. See help(type(self)) for accurate signature.
capitalize(self)¶
casefold(self)¶
center(self, width, *args)¶
count(self, sub, start=0, end=9223372036854775807)¶
encode(self, encoding=None, errors=None)¶
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)¶
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(x, y=None, z=None, /)¶
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)¶
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_data object at 0x118754540>
class auto¶
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
Attributes¶
value=<object object at 0x10ffb7100>- The most base type