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

Method append

python/IECore/MenuDefinition.py:69–76  ·  view source on GitHub ↗
( self, path, item )

Source from the content-addressed store, hash-verified

67 # appear after all other items in its respective
68 # submenu.
69 def append( self, path, item ) :
70
71 if isinstance( item, dict ) :
72 item = MenuItemDefinition( item )
73
74 self.remove( path, False )
75
76 self.__items.append( ( path, item ) )
77
78 ## Insert a menu item before the specified menu item.
79 def insertBefore( self, path, item, beforePath ) :

Callers 15

__init__Method · 0.95
testMethod · 0.95
fixFileFunction · 0.80
convertIncludesFunction · 0.80
convertNamespacesFunction · 0.80
__main__.pyFile · 0.80
testCurvesPrimitiveMethod · 0.80
testCanWritePointsMethod · 0.80
testCanWriteCurvesMethod · 0.80

Calls 2

removeMethod · 0.95
MenuItemDefinitionClass · 0.90