ableton.v3.control_surface.display.view (runtime)¶
Live 12 — 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¶
Attributes¶
_is_protocol=False- bool(x) -> 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 0x13c673240>, render_condition: Callable[[ableton.v3.control_surface.display.state.State], bool] = <function DisconnectedView.<lambda> at 0x13c6732e0>, content_condition: Callable[[~ContentType], bool] = <function DisconnectedView.<lambda> at 0x13c673380>)¶
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¶
Attributes¶
_is_protocol=False- bool(x) -> 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 0x13c672700>, content_condition: Callable[[~ContentType], bool] = <function NotificationView.<lambda> at 0x13c6727a0>, 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 0x13c673560>, name: str = 'notification', duration: Optional[float] = 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: Optional[float] = None)¶
Attributes¶
_is_protocol=False- bool(x) -> bool
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 0x13c672a20>, content_condition: Callable[[~ContentType], bool] = <function View.<lambda> at 0x13c672b60>)¶
Initialize self. See help(type(self)) for accurate signature.
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¶
Attributes¶
_is_protocol=False- bool(x) -> bool