OpenMaya.MContainerMessage Class Reference
Class used to register callbacks for container related messages.
Method resolution order:
- MContainerMessage
- MMessage
- __builtin__.object
|
int | kDefaultAction = 0 |
|
int | kDoAction = 2 |
|
int | kDoNotDoAction = 1 |
|
OpenMaya.MContainerMessage.addBoundAttrCallback |
( |
| ) |
|
|
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.
OpenMaya.MContainerMessage.addPublishAttrCallback |
( |
| ) |
|
|
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.