[ 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.
label |
the section label, or null |
submenu |
a MenuModel with the items of the submenu |
a new MenuItem |