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 WebKitWebView is created by the view and passed as an argument of WebKitWebView::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