prepend_section
Description:
Convenience function for prepending a section menu item to the start of this.
Combine MenuItem.section and insert_item for a more flexible alternative.
Parameters:
this |
a Menu |
label |
the section label, or null |
section |
a MenuModel with the items of the section |