Skip to content

ableton.v3.control_surface.display.notifications.type_decl (runtime)

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

Module constants

  • NOTIFICATION_EVENT_ID = 'notification'
  • NotificationFnType = ~NotificationFnType
  • NotificationParamSpec = Ellipsis
  • NotificationParams = ~NotificationParams
  • TYPE_CHECKING = False
  • annotations = _Feature((3, 7, 0, 'beta', 1), (4, 0, 0, 'alpha', 0), 1048576)

Functions

Any(*args, **kwds)

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.

Fn(*args, **kwargs)

Notification(*args, **kwargs)

Optional(*args, **kwds)

Union(*args, **kwds)

dataclass(_cls=None, *, init=True, repr=True, eq=True, order=False, unsafe_hash=False, frozen=False)

Classes

class TypeVar(_Final, _Immutable)

Methods

__init__(self, name, *constraints, bound=None, covariant=False, contravariant=False)

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