ContextMenu.with_items


Description:

[ CCode ( has_construct_function = false ) ]
public ContextMenu.with_items (List<ContextMenuItem> items)

Creates a new ContextMenu object with the given items.

Creates a new ContextMenu object to be used as a submenu of an existing ContextMenu with the given initial items. See also ContextMenu

Parameters:

items

a List of ContextMenuItem

Returns:

The newly created ContextMenu object