Skip to content

Live.Listener (runtime)

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

Classes

class ListenerHandle(instance)

This class represents a Python listener when connected to a Live property.

Properties

  • listener_func - Returns the original function
  • listener_self - Returns the weak reference to original self, if it was a bound method
  • name - Prints the name of the property that this listener is connected to

Methods

__call__(...)

call( (ListenerHandle)arg1) -> None : Calls the listener function.

C++ signature :
    void __call__(LPythonRemote {lvalue})
__init__(...)

Raises an exception This class cannot be instantiated from Python

disconnect(...)

disconnect( (ListenerHandle)arg1) -> None : Disconnects the listener from its property

C++ signature :
    void disconnect(LPythonRemote {lvalue})

class ListenerVector(instance)

A read only container for accessing a list of listeners.

Methods

__init__(...)

Raises an exception This class cannot be instantiated from Python

append(...)

append( (ListenerVector)arg1, (object)arg2) -> None :

C++ signature :
    void append(std::__1::vector<TWeakPtr<LPythonRemote>, std::__1::allocator<TWeakPtr<LPythonRemote>>> {lvalue},boost::python::api::object)
extend(...)

extend( (ListenerVector)arg1, (object)arg2) -> None :

C++ signature :
    void extend(std::__1::vector<TWeakPtr<LPythonRemote>, std::__1::allocator<TWeakPtr<LPythonRemote>>> {lvalue},boost::python::api::object)