Package mrv :: Package maya :: Package ui :: Module control :: Class OptionMenuGrp
[hide private]
[frames] | no frames]

Class OptionMenuGrp

source code

                 object --+            
                          |            
       util.UIContainerBase --+        
                              |        
         base.ContainerMenuBase --+    
                                  |    
                     OptionMenuBase --+
                                      |
         object --+                   |
                  |                   |
         basestring --+               |
                      |               |
                unicode --+           |
                          |           |
             object --+   |           |
                      |   |           |
            base.BaseUI --+           |
                          |           |
         object --+       |           |
                  |       |           |
interface.Interface --+   |           |
                      |   |           |
     interface.iDagItem --+           |
                          |           |
         object --+       |           |
                  |       |           |
   util.EventSender --+   |           |
                      |   |           |
     util.EventSenderUI --+           |
                          |           |
               base.NamedUI --+       |
                              |       |
              base.SizedControl --+   |
                                  |   |
                          GroupBase --+
                                      |
                                     OptionMenuGrp

Class just for multiple inheritance - this cannot be expressed in the hierarchy file

Note: Order of inheritance matters due to method resolution order !

Nested Classes [hide private]

Inherited from util.EventSenderUI (private): _UIEvent

Instance Methods [hide private]

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

Inherited from base.SizedControl: p_pma, p_popupMenuArray

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

Inherited from base.NamedUI (private): _parentString

Inherited from unicode: __add__, __contains__, __eq__, __format__, __ge__, __getattribute__, __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__

    Special Handling Overrides
 
setActive(self)
The optionMenuGrp cannot be set as a parent as it is classified as control layout.
source code
 
setParentActive(self)
See setActive
source code
    Query Methods

Inherited from base.SizedControl: annotation, dimension, popupMenuArray

Inherited from base.NamedUI: children, childrenDeep, parent

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

    Edit Methods

Inherited from base.SizedControl: setAnnotation, setDimension, setFocus

    Overridden Methods

Inherited from util.UIContainerBase: __init__

Inherited from base.NamedUI: __new__, __repr__, __setattr__

    Properties

Inherited from base.NamedUI: p_ex, p_exists

    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 base.NamedUI (private): _exists

    Hierachy Handling

Inherited from base.NamedUI: activeParent

    Name Generation

Inherited from interface.iDagItem: addSep

Class Variables [hide private]
  _is_menu = True

Inherited from OptionMenuBase: __metaclass__, _events_, _properties_

Inherited from base.SizedControl: p_ann, p_annotation, p_dimension

Inherited from base.BaseUI: __melcmd__

Inherited from interface.iDagItem: kOrder_BreadthFirst, kOrder_DepthFirst

Inherited from util.EventSenderUI: reraise_on_error, sender_as_argument

    Configuration

Inherited from base.NamedUI (private): _sep

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setActive(self)

source code 
The optionMenuGrp cannot be set as a parent as it is classified as control layout. A problem arises if you actually try to add new menuItems to it after it's creation which does not work as it is not a menu
Returns:
self
Overrides: util.UIContainerBase.setActive

setParentActive(self)

source code 
See setActive
Returns:
self
Overrides: base.ContainerMenuBase.setParentActive