Table of Contents

Class ContextMenu

Namespace
WebKitWebProcessExtension
Assembly
WebKitWebProcessExtension-6.0.dll
public sealed class ContextMenu : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
ContextMenu
Implements
Inherited Members

Constructors

ContextMenu(bool, params ConstructArgument[])

protected ContextMenu(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

ContextMenu(IntPtr, bool)

protected ContextMenu(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Methods

Append(ContextMenuItem)

public void Append(ContextMenuItem item)

Parameters

item ContextMenuItem

First()

public ContextMenuItem First()

Returns

ContextMenuItem

GetEvent()

[Version("2.40")]
public Event GetEvent()

Returns

Event

GetGType()

public static Type GetGType()

Returns

Type

GetItemAtPosition(uint)

public ContextMenuItem GetItemAtPosition(uint position)

Parameters

position uint

Returns

ContextMenuItem

GetItems()

public List GetItems()

Returns

List

GetNItems()

public uint GetNItems()

Returns

uint

GetUserData()

[Version("2.8")]
public Variant GetUserData()

Returns

Variant

Insert(ContextMenuItem, int)

public void Insert(ContextMenuItem item, int position)

Parameters

item ContextMenuItem
position int

Last()

public ContextMenuItem Last()

Returns

ContextMenuItem

MoveItem(ContextMenuItem, int)

public void MoveItem(ContextMenuItem item, int position)

Parameters

item ContextMenuItem
position int

New()

public static ContextMenu New()

Returns

ContextMenu

NewWithItems(List)

public static ContextMenu NewWithItems(List items)

Parameters

items List

Returns

ContextMenu

Prepend(ContextMenuItem)

public void Prepend(ContextMenuItem item)

Parameters

item ContextMenuItem

Remove(ContextMenuItem)

public void Remove(ContextMenuItem item)

Parameters

item ContextMenuItem

RemoveAll()

public void RemoveAll()

SetUserData(Variant)

[Version("2.8")]
public void SetUserData(Variant userData)

Parameters

userData Variant