Class ContextMenuItem
- Namespace
- WebKit
- Assembly
- WebKit-6.0.dll
public sealed class ContextMenuItem : InitiallyUnowned, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
- Inheritance
-
ContextMenuItem
- Implements
- Inherited Members
Constructors
ContextMenuItem()
public ContextMenuItem()
ContextMenuItem(params ConstructArgument[])
protected ContextMenuItem(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
ContextMenuItem(IntPtr, bool)
protected ContextMenuItem(IntPtr ptr, bool ownedRef)
Parameters
Methods
GetGType()
public static Type GetGType()
Returns
GetGaction()
[Version("2.18")]
public Action GetGaction()
Returns
GetStockAction()
public ContextMenuAction GetStockAction()
Returns
GetSubmenu()
public ContextMenu GetSubmenu()
Returns
IsSeparator()
public bool IsSeparator()
Returns
NewFromGaction(Action, string, Variant?)
[Version("2.18")]
public static ContextMenuItem NewFromGaction(Action action, string label, Variant? target)
Parameters
Returns
NewFromStockAction(ContextMenuAction)
public static ContextMenuItem NewFromStockAction(ContextMenuAction action)
Parameters
action
ContextMenuAction
Returns
NewFromStockActionWithLabel(ContextMenuAction, string)
public static ContextMenuItem NewFromStockActionWithLabel(ContextMenuAction action, string label)
Parameters
action
ContextMenuActionlabel
string
Returns
NewSeparator()
public static ContextMenuItem NewSeparator()
Returns
NewWithSubmenu(string, ContextMenu)
public static ContextMenuItem NewWithSubmenu(string label, ContextMenu submenu)
Parameters
label
stringsubmenu
ContextMenu
Returns
SetSubmenu(ContextMenu?)
public void SetSubmenu(ContextMenu? submenu)
Parameters
submenu
ContextMenu