Skip to content

_Framework.ControlElement (runtime)

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

Functions

const(value)

depends(**dependencies)

nop(*a, **k)

second(seq)

Classes

class ControlElement(Disconnectable)

Properties

  • resource

Methods

ProxiedInterface(outer=None, *a, **k)
__init__(self, name='', resource_type=None, optimized_send_midi=None, send_midi=None, register_control=None, *a, **k)

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

_on_resource_lost(self, client)
_on_resource_received(self, client, *a, **k)
_resource_type(on_received_callback=None, on_lost_callback=None, *a, **k)
clear_send_cache(self)
disconnect(self)
notify_ownership_change(self, client, grabbed, element_ownership_handler=None)
reset(self)
reset_state(self)
send_midi(self, message)

Attributes

  • _has_resource = False - bool(x) -> bool
  • _has_task_group = False - bool(x) -> bool
  • _resource = <_Framework.Util.lazy_attribute object at 0x129db44d0>
  • _tasks = <_Framework.Util.lazy_attribute object at 0x129db4710>
  • canonical_parent = None
  • name = '' - str(object='') -> str
  • optimized_send_midi = True - bool(x) -> bool
  • proxied_interface = <_Framework.Util.lazy_attribute object at 0x129db4290>

class ControlElementClient

Methods

__init__(self, /, *args, **kwargs)

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

set_control_element(self, control_element, grabbed)

class Disconnectable

Methods

__init__(self, /, *args, **kwargs)

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

disconnect(self)

class ElementOwnershipHandler

Methods

__init__(self, /, *args, **kwargs)

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

handle_ownership_change(self, control, client, status)

class OptimizedOwnershipHandler(ElementOwnershipHandler)

Methods

__init__(self, *a, **k)

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

commit_ownership_changes(self, log_message=None, traceback=None)
handle_ownership_change(self, control, client, status)

class StackingResource(Resource)

Properties

  • clients
  • max_priority
  • owner
  • owners
  • stack_size

Methods

__init__(self, on_received_callback=None, on_lost_callback=None, *a, **k)

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

_actual_owners(self)
_add_client(self, client, priority)
_on_lost_set(self, clients)
_on_received_set(self, clients)
_remove_client(self, client)
get_owner(self)
grab(self, client, priority=None)
on_lost(self, client)
on_received(self, client)
release(self, client)
release_all(self)
release_stacked(self)

class lazy_attribute

Methods

__init__(self, func, name=None)

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