insert_section
Description:
Convenience function for inserting a section menu item into this.
Combine MenuItem.section and insert_item for a more flexible alternative.
Parameters:
this |
a Menu |
position |
the position at which to insert the item |
label |
the section label, or null |
section |
a MenuModel with the items of the section |