ContextMenu


Description:

[ CCode ( has_construct_function = false ) ]
public ContextMenu ()

Creates a new ContextMenu object.

Creates a new ContextMenu object to be used as a submenu of an existing ContextMenu. The context menu of a WebView is created by the view and passed as an argument of context_menu signal. To add items to the menu use prepend, append or insert. See also ContextMenu.with_items to create a ContextMenu with a list of initial items.

Returns:

The newly created ContextMenu object




2022 vala-language.org