MenuItem.submenu


Description:

[ CCode ( has_construct_function = false ) ]
public MenuItem.submenu (string? label, MenuModel submenu)

Creates a new MenuItem representing a submenu.

This is a convenience API around MenuItem and set_submenu.

Parameters:

label

the section label, or null

submenu

a MenuModel with the items of the submenu

Returns:

a new MenuItem




2022 vala-language.org