Python API 2.0 Reference
|
Static Public Member Functions | |
def | addBoundAttrCallback () |
def | addPublishAttrCallback () |
Additional Inherited Members |
Class used to register callbacks for container related messages. Method resolution order: - MContainerMessage - MMessage - builtins.object
|
static |
addBoundAttrCallback(function, clientData=None) -> id This method registers a callback that is called whenever an attribute is bound or unbound on a container. * function - callable which will be passed a Node (the container) ,a string indicating the name of the bound attr, and the clientData object. * clientData - User defined data passed to the callback function * return: Identifier used for removing the callback.
|
static |
addPublishAttrCallback(function, clientData=None) -> id This method registers a callback that is called whenever an attribute is published or unpublished from a container. * function - callable which will be passed a Node (the container) ,a string indicating the name of the published attr, and the clientData object. * clientData - User defined data passed to the callback function * return: Identifier used for removing the callback.