ableton.v3.control_surface.display.view.view (runtime)¶
Live 11 — Live Object Model & framework reference (descriptions and signatures).
Module constants¶
ContentType = ~ContentTypeDISCONNECT_EVENT = Event(name='disconnect', origin=None, value=None)INIT_EVENT = Event(name='init', origin=None, value=None)
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)¶
Render(*args, **kwargs)¶
const(value)¶
depends(**dependencies)¶
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 Event(tuple)¶
Event(name, origin, value)
Properties¶
name- Alias for field number 0origin- Alias for field number 1value- Alias for field number 2
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
_asdict(self)¶
_make(iterable)¶
Make a new Event object from a sequence or iterable
_replace(_self, **kwds)¶
Return a new Event object replacing specified fields with new values
count(self, value, /)¶
Return number of occurrences of value.
index(self, value, start=0, stop=9223372036854775807, /)¶
Return first index of value.
Raises ValueError if the value is not present.
Attributes¶
_field_defaults={}- dict() -> new empty dictionary_field_types=OrderedDict([('name', <class 'str'>), ('origin', typing.Any), ('value', typing.Any)])- Dictionary that remembers insertion order_fields=('name', 'origin', 'value')- Built-in immutable sequence._fields_defaults={}- dict() -> new empty dictionary
class Generic¶
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
class State(EventObject)¶
Methods¶
__init__(self)¶
Initialize self. See help(type(self)) for accurate signature.
add_notification_visible_listener(self, slot, identify_sender=False, *a, **k)¶
as_dict(instance, state_filters=StateFilters(key_filter=<function StateFilters.<lambda> at 0x1639d2d08>, value_filter=<function State.<lambda> at 0x1639d5378>))¶
disconnect(self)¶
disconnect_disconnectable(self, slot)¶
find_disconnectable(self, predicate)¶
get_repr_data(self)¶
has_disconnectable(self, slot)¶
notification_visible_has_listener(self, slot)¶
notification_visible_listener_count(self)¶
notify_notification_visible(self, *a, **k)¶
register_disconnectable(self, slot)¶
register_disconnectables(self, disconnectables)¶
register_slot(self, *a, **k)¶
remove_notification_visible_listener(self, slot)¶
set_delayed(self, attr_name: str, value, delay_time: Union[float, NoneType])¶
trigger_timers(self, from_test=False)¶
unregister_disconnectable(self, slot)¶
Attributes¶
notification_visible=False- bool(x) -> boolrepr_filters=StateFilters(key_filter=<function StateFilters.<lambda> at 0x1639d2d08>, value_filter=<function StateFilters.<lambda> at 0x1639d2d90>)- StateFilters(key_filter: Callable =at 0x1639d2d08>, value_filter: Callable = at 0x1639d2d90>)
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.