- Namespace
- WebKit
- Assembly
- WebKit-6.0.dll
public sealed class ContextMenu : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
- Inheritance
-
ContextMenu
- Implements
-
- Inherited Members
-
Constructors
protected ContextMenu(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
bool
constructArguments
ConstructArgument[]
protected ContextMenu(IntPtr ptr, bool ownedRef)
Parameters
ptr
IntPtr
ownedRef
bool
Methods
public void Append(ContextMenuItem item)
Parameters
item
ContextMenuItem
public ContextMenuItem First()
Returns
- ContextMenuItem
[Version("2.40")]
public Event GetEvent()
Returns
- Event
public static Type GetGType()
Returns
- Type
public ContextMenuItem GetItemAtPosition(uint position)
Parameters
position
uint
Returns
- ContextMenuItem
Returns
- List
Returns
- uint
[Version("2.8")]
public Variant GetUserData()
Returns
- Variant
public void Insert(ContextMenuItem item, int position)
Parameters
item
ContextMenuItem
position
int
public ContextMenuItem Last()
Returns
- ContextMenuItem
public void MoveItem(ContextMenuItem item, int position)
Parameters
item
ContextMenuItem
position
int
public static ContextMenu New()
Returns
- ContextMenu
public static ContextMenu NewWithItems(List items)
Parameters
items
List
Returns
- ContextMenu
public void Prepend(ContextMenuItem item)
Parameters
item
ContextMenuItem
public void Remove(ContextMenuItem item)
Parameters
item
ContextMenuItem
[Version("2.8")]
public void SetUserData(Variant userData)
Parameters
userData
Variant