( self, items = None )
| 44 | class 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 |