MCPcopy Create free account
hub / github.com/ImageEngine/cortex / __init__

Method __init__

python/IECore/MenuDefinition.py:46–52  ·  view source on GitHub ↗
( self, items = None )

Source from the content-addressed store, hash-verified

44class MenuDefinition( object ) :
45
46 def __init__( self, items = None ) :
47
48 self.__items = []
49
50 for path, item in items or []:
51
52 self.append( path, item )
53
54 ## Prepends a menu item to the menu. The item will
55 # appear before all other items in its respective

Callers

nothing calls this directly

Calls 1

appendMethod · 0.95

Tested by

no test coverage detected