Пример #1
0
 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
 def getItalicized(self):
     return cmds.menuItem(self, query=True, italicized=True)
Пример #3
0
 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)