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

Class MenuItem

source code

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

Nested Classes [hide private]

Inherited from NamedUI: __metaclass__

Inherited from util.EventSenderUI (private): _UIEvent

Instance Methods [hide private]
 
toMenu(self)
Returns: Menu representing self if it is a submenu
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 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_ = "d", "divider", "cb", "checkBox", "icb", "isChe...
  _events_ = "dmc", "dragMenuCommand", "ddc", "dragDoubleClickCo...

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]

toMenu(self)

source code 
Returns:
Menu representing self if it is a submenu
Raises:
  • TypeError - if self i no submenu

Class Variable Details [hide private]

_properties_

Value:
"d", "divider", "cb", "checkBox", "icb", "isCheckBox", "rb", "radioBut\
ton", "irb", "isRadioButton", "iob", "isOptionBox", "cl", "collection"\
, "i", "image", "iol", "imageOverlayLabel", "sm", "subMenu", "ann", "a\
nnotation", "da", "data", "rp", "radialPosition", "ke", "keyEquivalent\
", "opt", "optionModifier", "ctl", "controlModifier", "sh", "shiftModi\
fier", "ecr", "enableCommandRepeat", "ec", "echoCommand", "it", "itali\
cized", "bld", "boldFont"

_events_

Value:
"dmc", "dragMenuCommand", "ddc", "dragDoubleClickCommand", "c", "comma\
nd"