예제 #1
0
파일: uitypes.py 프로젝트: tbarbieri/pymel
 def addMenuItems( self, items, title=None):
     """ Add the specified item list to the OptionMenu, with an optional 'title' item """
     print 'fasjfklafja'
     if title:
         cmds.menuItem(l=title, en=0, parent=self)
     for item in items:
         cmds.menuItem(l=item, parent=self)
예제 #2
0
파일: uitypes.py 프로젝트: eahneahn/pymel
 def getItalicized(self):
     return cmds.menuItem(self, query=True, italicized=True)
예제 #3
0
파일: uitypes.py 프로젝트: eahneahn/pymel
 def getBoldFont(self):
     return cmds.menuItem(self, query=True, boldFont=True)
예제 #4
0
 def getItalicized(self):
     return cmds.menuItem(self, query=True, italicized=True)
예제 #5
0
 def getBoldFont(self):
     return cmds.menuItem(self, query=True, boldFont=True)
예제 #6
0
 def addMenuItems(self, items, title=None):
     """ Add the specified item list to the OptionMenu, with an optional 'title' item """
     if title:
         cmds.menuItem(l=title, en=0, parent=self)
     for item in items:
         cmds.menuItem(l=item, parent=self)