Cortex
10.0.0-a4
|
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) |
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.