Skip to content

ableton.v2.control_surface.layer (runtime)

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

Functions

get_element(obj, element_container=None)

nop(*a, **k)

Classes

class BackgroundLayer(LayerBase)

Properties

  • owner
  • priority

Methods

__init__(self, *elements, **k)

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

get_owner(self)
grab(self, client, *a, **k)
on_lost(self, client)
on_received(self, client, *a, **k)
release(self, client)
set_control_element(self, control_element, grabbed)

class CompoundLayer(CompoundResource)

Properties

  • first
  • owner
  • priority
  • second

Methods

__init__(self, first_resource=None, second_resource=None, *a, **k)

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

get_owner(self)
grab(self, client, *a, **k)
release(self, client)

class CompoundResource(Resource)

Properties

  • first
  • owner
  • second

Methods

__init__(self, first_resource=None, second_resource=None, *a, **k)

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

get_owner(self)
grab(self, client, *a, **k)
release(self, client)

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 ExclusiveResource(Resource)

Properties

  • owner

Methods

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

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

get_owner(self)
grab(self, client, *a, **k)
on_lost(self, client)
on_received(self, client, *a, **k)
release(self, client)

class Layer(LayerBase)

Properties

  • owner
  • priority

Methods

__init__(self, priority=None, **elements)

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

_get_control_client(self, client)
get_owner(self)
grab(self, client, *a, **k)
on_lost(self, client)
on_received(self, client, *a, **k)
release(self, client)

class LayerBase(ExclusiveResource)

Properties

  • owner
  • priority

Methods

__init__(self, priority=None, *a, **k)

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

get_owner(self)
grab(self, client, *a, **k)
on_lost(self, client)
on_received(self, client, *a, **k)
release(self, client)

class LayerClient(ControlElementClient)

Methods

__init__(self, layer=None, layer_client=None, *a, **k)

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

set_control_element(self, control_element, grabbed)

class LayerError(Exception)

Common base class for all non-exit exceptions.

Methods

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

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

with_traceback(...)

Exception.with_traceback(tb) -- set self.traceback to tb and return self.

Attributes

  • args = <attribute 'args' of 'BaseException' objects>

class SimpleLayerOwner(Disconnectable)

Methods

__init__(self, layer=None)

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

disconnect(self)

class UnhandledElementError(LayerError)

Common base class for all non-exit exceptions.

Methods

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

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

with_traceback(...)

Exception.with_traceback(tb) -- set self.traceback to tb and return self.

Attributes

  • args = <attribute 'args' of 'BaseException' objects>

class repeat

repeat(object [,times]) -> create an iterator which returns the object for the specified number of times. If not specified, returns the object endlessly.

Methods

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

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