Cortex  10.0.0-a4
Public Member Functions | List of all members
IECoreMaya.UITemplate Class Reference

A context object for use with python's "with" syntax. More...

Public Member Functions

def __init__ (self, name)
 
def __enter__ (self)
 
def __exit__ (self, type, value, traceBack)
 

Detailed Description

A context object for use with python's "with" syntax.

This manages calls to maya.cmds.setUITemplate to ensure that everything in the with block is executed with the appropriate template, and the template is popped on exit from the block.


The documentation for this class was generated from the following file: