Python API 2.0 Reference
OpenMaya.MContainerMessage Class Reference
+ Inheritance diagram for OpenMaya.MContainerMessage:

Static Public Member Functions

def addBoundAttrCallback ()
 
def addPublishAttrCallback ()
 
- Static Public Member Functions inherited from OpenMaya.MMessage
def currentCallbackId ()
 
def nodeCallbacks ()
 
def removeCallback ()
 
def removeCallbacks ()
 

Additional Inherited Members

- Static Public Attributes inherited from OpenMaya.MMessage
int kDefaultAction = 0
 
int kDoAction = 2
 
int kDoNotDoAction = 1
 

Detailed Description

Class used to register callbacks for container related messages.

Method resolution order:
-   MContainerMessage
-   MMessage
-   builtins.object

Member Function Documentation

def 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.
def 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.