pymel.util.utilitytypes.metaReadOnlyAttr

digraph inheritancee4c161e858 {
rankdir=TB;
ranksep=0.15;
nodesep=0.15;
size="8.0, 12.0";
  "metaReadOnlyAttr" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="#pymel.util.utilitytypes.metaReadOnlyAttr",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
}

class metaReadOnlyAttr
A metaclass to allow to define read-only class attributes, accessible either on the class or it’s instances and protected against re-write or re-definition. Read only attributes are stored in the class ‘__readonly__’ dictionary. Any attribute can be marked as read only by including its name in a tuple named ‘__readonly__’ in the class definition. Alternatively methods can be marked as read only with the @readonly decorator and will then get added to the dictionary at class creation

Previous topic

pymel.util.utilitytypes.defaultlist

Next topic

pymel.util.utilitytypes.metaStatic

Core

Core Modules

Other Modules

This Page