append_section


Description:

public void append_section (string? label, MenuModel section)

Convenience function for appending a section menu item to the end 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