mrv :: maya :: ui :: base :: Menu :: Class Menu
[hide private]
[frames] | no frames]

Class Menu

source code

         object --+                
                  |                
         basestring --+            
                      |            
                unicode --+        
                          |        
             object --+   |        
                      |   |        
                 BaseUI --+        
                          |        
         object --+       |        
                  |       |        
interface.Interface --+   |        
                      |   |        
     interface.iDagItem --+        
                          |        
         object --+       |        
                  |       |        
   util.EventSender --+   |        
                      |   |        
     util.EventSenderUI --+        
                          |        
                    NamedUI --+    
                              |    
                       MenuBase --+
                                  |
                 object --+       |
                          |       |
       util.UIContainerBase --+   |
                              |   |
              ContainerMenuBase --+
                                  |
                                 Menu

Nested Classes [hide private]

Inherited from NamedUI: __metaclass__

Inherited from util.EventSenderUI (private): _UIEvent

Instance Methods [hide private]
 
itemArray(self)
Returns: An array of our menuItems
source code

Inherited from NamedUI: delete, exists, shortName, type, uiDeleted

Inherited from NamedUI (private): _parentString

Inherited from unicode: __add__, __contains__, __eq__, __format__, __ge__, __getattribute__, __getitem__, __getnewargs__, __getslice__, __gt__, __hash__, __le__, __len__, __lt__, __mod__, __mul__, __ne__, __rmod__, __rmul__, __sizeof__, __str__, capitalize, center, count, decode, encode, endswith, expandtabs, find, format, index, isalnum, isalpha, isdecimal, isdigit, islower, isnumeric, isspace, istitle, isupper, join, ljust, lower, lstrip, partition, replace, rfind, rindex, rjust, rpartition, rsplit, rstrip, split, splitlines, startswith, strip, swapcase, title, translate, upper, zfill

Inherited from unicode (private): _formatter_field_name_split, _formatter_parser

Inherited from interface.Interface: supports

Inherited from util.EventSender: clearAllEvents, sender

Inherited from ContainerMenuBase: setActive, setParentActive

Inherited from util.UIContainerBase: __enter__, __exit__, add, childByName, clearChildren, deleteChild, listChildren, removeChild

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __subclasshook__

    Overridden Methods

Inherited from NamedUI: __init__, __new__, __repr__, __setattr__

    Properties

Inherited from NamedUI: p_ex, p_exists

    Query Methods

Inherited from NamedUI: children, childrenDeep, parent

Inherited from interface.iDagItem: basename, isPartOf, isRoot, isRootOf, parentDeep, root

    Iterators

Inherited from interface.iDagItem: iterParents

    Name Generation

Inherited from interface.iDagItem: fullChildName

Class Methods [hide private]

Inherited from util.EventSender: listEventNames

    Overridden Methods

Inherited from NamedUI (private): _exists

    Hierachy Handling

Inherited from NamedUI: activeParent

    Name Generation

Inherited from interface.iDagItem: addSep

Class Variables [hide private]
  _properties_ = "hm", "helpMenu", "ia", "itemArray", "ni", "num...

Inherited from MenuBase: _events_

Inherited from MenuBase (private): _is_menu

Inherited from BaseUI: __melcmd__

Inherited from interface.iDagItem: kOrder_BreadthFirst, kOrder_DepthFirst

Inherited from util.EventSenderUI: reraise_on_error, sender_as_argument

    Configuration

Inherited from NamedUI (private): _sep

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

itemArray(self)

source code 
Returns:
An array of our menuItems

Note: This method worksaround a maya 2011 problem that makes it impossible to properly wrap menuItems with short names as returned by p_itemArray


Class Variable Details [hide private]

_properties_

Value:
"hm", "helpMenu", "ia", "itemArray", "ni", "numberOfItems", "dai", "de\
leteAllItems", "fi", "familyImage"