ableton.v3.control_surface.display.view (runtime)¶
Live 11 — Live Object Model & framework reference (descriptions and signatures).
Module constants¶
DEFAULT_NOTIFICATION_DURATION = 2.0
Classes¶
class CompoundView(View, Generic)¶
Methods¶
NoRender()¶
__call__(self, state: ableton.v3.control_surface.display.state.State) -> ~ContentType¶
Call self as a function.
__init__(self, *views: ableton.v3.control_surface.display.view.view.View[~ContentType])¶
Initialize self. See help(type(self)) for accurate signature.
compound_render(self, state: ableton.v3.control_surface.display.state.State) -> ~ContentType¶
content_condition(self, content) -> bool¶
render(self, state: ableton.v3.control_surface.display.state.State) -> ~ContentType¶
render_condition(self, state: ableton.v3.control_surface.display.state.State) -> bool¶
class DisconnectedView(View, Generic)¶
Methods¶
__call__(self, state: ableton.v3.control_surface.display.state.State) -> ~ContentType¶
Call self as a function.
__init__(self, render: Callable[[ableton.v3.control_surface.display.state.State], ~ContentType] = <function const.<locals>.<lambda> at 0x1639d9f28>, render_condition: Callable[[ableton.v3.control_surface.display.state.State], bool] = <function DisconnectedView.<lambda> at 0x1639e7048>, content_condition: Callable[[~ContentType], bool] = <function DisconnectedView.<lambda> at 0x1639e70d0>)¶
Initialize self. See help(type(self)) for accurate signature.
content_condition(self, content) -> bool¶
react(state: ableton.v3.control_surface.display.state.State, event: ableton.v3.control_surface.display.type_decl.Event)¶
render(self, state: ableton.v3.control_surface.display.state.State) -> ~ContentType¶
render_condition(self, state: ableton.v3.control_surface.display.state.State) -> bool¶
class NotificationView(View, Generic)¶
Methods¶
__call__(self, state: ableton.v3.control_surface.display.state.State) -> ~ContentType¶
Call self as a function.
__init__(self, render_fn: Callable[[ableton.v3.control_surface.display.state.State, Any], ~ContentType], render_condition: Callable[[ableton.v3.control_surface.display.state.State], bool] = <function NotificationView.<lambda> at 0x1639d9840>, content_condition: Callable[[~ContentType], bool] = <function NotificationView.<lambda> at 0x1639d97b8>, notification_signal: Callable[[ableton.v3.control_surface.display.state.State, ableton.v3.control_surface.display.type_decl.Event], ~NotificationDataType] = <function on_notification.<locals>.signal_fn at 0x1639e7268>, name: str = 'notification', duration: Union[float, NoneType] = None, exclusive: bool = True, suppressing_signals: Tuple[Callable[[ableton.v3.control_surface.display.state.State, ableton.v3.control_surface.display.type_decl.Event], ~NotificationDataType], ...] = (), supports_new_line: bool = False)¶
Initialize self. See help(type(self)) for accurate signature.
content_condition(self, content) -> bool¶
init(self, state: ableton.v3.control_surface.display.state.State)¶
react(self, state: ableton.v3.control_surface.display.state.State, event: ableton.v3.control_surface.display.type_decl.Event)¶
render(self, state: ableton.v3.control_surface.display.state.State)¶
render_condition(self, state: ableton.v3.control_surface.display.state.State) -> bool¶
reset_state(self, state: ableton.v3.control_surface.display.state.State, delay: Union[float, NoneType] = None)¶
class View(Generic)¶
Methods¶
__call__(self, state: ableton.v3.control_surface.display.state.State) -> ~ContentType¶
Call self as a function.
__init__(self, render: Callable[[ableton.v3.control_surface.display.state.State], ~ContentType], render_condition: Callable[[ableton.v3.control_surface.display.state.State], bool] = <function View.<lambda> at 0x1639d98c8>, content_condition: Callable[[~ContentType], bool] = <function View.<lambda> at 0x1639d9950>)¶
Initialize self. See help(type(self)) for accurate signature.