insert_section


Description:

public void insert_section (int position, string? label, MenuModel section)

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




2022 vala-language.org