ContextMenuItem.with_submenu


Description:

[ CCode ( has_construct_function = false ) ]
public ContextMenuItem.with_submenu (string label, ContextMenu submenu)

Creates a new ContextMenuItem using the given label with a submenu.

Parameters:

label

the menu item label text

submenu

a ContextMenu to set

Returns:

the newly created ContextMenuItem object.