Class ContextMenu
- Namespace
- WebKitWebProcessExtension.Internal
- Assembly
- WebKitWebProcessExtension-6.0.dll
public class ContextMenu
- Inheritance
-
ContextMenu
- Inherited Members
Methods
Append(IntPtr, IntPtr)
Calls native method webkit_context_menu_append.
public static extern void Append(IntPtr menu, IntPtr item)
Parameters
menu
IntPtrTransfer ownership: None Nullable: False
item
IntPtrTransfer ownership: None Nullable: False
First(IntPtr)
Calls native method webkit_context_menu_first.
public static extern IntPtr First(IntPtr menu)
Parameters
menu
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
GetEvent(IntPtr)
Calls native method webkit_context_menu_get_event. Version: 2.40
[Version("2.40")]
public static extern IntPtr GetEvent(IntPtr menu)
Parameters
menu
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
GetGType()
Calls native function webkit_context_menu_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetItemAtPosition(IntPtr, uint)
Calls native method webkit_context_menu_get_item_at_position.
public static extern IntPtr GetItemAtPosition(IntPtr menu, uint position)
Parameters
menu
IntPtrTransfer ownership: None Nullable: False
position
uintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
GetItems(IntPtr)
Calls native method webkit_context_menu_get_items.
public static extern ListUnownedHandle GetItems(IntPtr menu)
Parameters
menu
IntPtrTransfer ownership: None Nullable: False
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
GetNItems(IntPtr)
Calls native method webkit_context_menu_get_n_items.
public static extern uint GetNItems(IntPtr menu)
Parameters
menu
IntPtrTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
GetUserData(IntPtr)
Calls native method webkit_context_menu_get_user_data. Version: 2.8
[Version("2.8")]
public static extern VariantUnownedHandle GetUserData(IntPtr menu)
Parameters
menu
IntPtrTransfer ownership: None Nullable: False
Returns
- VariantUnownedHandle
Transfer ownership: None Nullable: False
Insert(IntPtr, IntPtr, int)
Calls native method webkit_context_menu_insert.
public static extern void Insert(IntPtr menu, IntPtr item, int position)
Parameters
menu
IntPtrTransfer ownership: None Nullable: False
item
IntPtrTransfer ownership: None Nullable: False
position
intTransfer ownership: None Nullable: False
Last(IntPtr)
Calls native method webkit_context_menu_last.
public static extern IntPtr Last(IntPtr menu)
Parameters
menu
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
MoveItem(IntPtr, IntPtr, int)
Calls native method webkit_context_menu_move_item.
public static extern void MoveItem(IntPtr menu, IntPtr item, int position)
Parameters
menu
IntPtrTransfer ownership: None Nullable: False
item
IntPtrTransfer ownership: None Nullable: False
position
intTransfer ownership: None Nullable: False
New()
Calls native constructor webkit_context_menu_new.
public static extern IntPtr New()
Returns
- IntPtr
Transfer ownership: Full Nullable: False
NewWithItems(ListHandle)
Calls native constructor webkit_context_menu_new_with_items.
public static extern IntPtr NewWithItems(ListHandle items)
Parameters
items
ListHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
Prepend(IntPtr, IntPtr)
Calls native method webkit_context_menu_prepend.
public static extern void Prepend(IntPtr menu, IntPtr item)
Parameters
menu
IntPtrTransfer ownership: None Nullable: False
item
IntPtrTransfer ownership: None Nullable: False
Remove(IntPtr, IntPtr)
Calls native method webkit_context_menu_remove.
public static extern void Remove(IntPtr menu, IntPtr item)
Parameters
menu
IntPtrTransfer ownership: None Nullable: False
item
IntPtrTransfer ownership: None Nullable: False
RemoveAll(IntPtr)
Calls native method webkit_context_menu_remove_all.
public static extern void RemoveAll(IntPtr menu)
Parameters
menu
IntPtrTransfer ownership: None Nullable: False
SetUserData(IntPtr, VariantHandle)
Calls native method webkit_context_menu_set_user_data. Version: 2.8
[Version("2.8")]
public static extern void SetUserData(IntPtr menu, VariantHandle userData)
Parameters
menu
IntPtrTransfer ownership: None Nullable: False
userData
VariantHandleTransfer ownership: None Nullable: False