( self, path, item )
| 55 | # appear before all other items in its respective |
| 56 | # submenu. |
| 57 | def prepend( self, path, item ) : |
| 58 | |
| 59 | if isinstance( item, dict ) : |
| 60 | item = MenuItemDefinition( item ) |
| 61 | |
| 62 | self.remove( path, False ) |
| 63 | |
| 64 | self.__items.insert( 0, ( path, item ) ) |
| 65 | |
| 66 | ## Appends a menu item at the end. The item will |
| 67 | # appear after all other items in its respective |
no test coverage detected