append_submenu


Description:

public void append_submenu (string? label, MenuModel submenu)

Convenience function for appending a submenu menu item to the end of this.

Combine MenuItem.submenu and insert_item for a more flexible alternative.

Parameters:

this

a Menu

label

the section label, or null

submenu

a MenuModel with the items of the submenu




2022 vala-language.org