編輯

共用方式為


NSTextViewDelegate.MenuForEvent(NSTextView, NSMenu, NSEvent, nuint) Method

Definition

[Foundation.Export("textView:menu:forEvent:atIndex:")]
public virtual AppKit.NSMenu MenuForEvent (AppKit.NSTextView view, AppKit.NSMenu menu, AppKit.NSEvent theEvent, nuint charIndex);
abstract member MenuForEvent : AppKit.NSTextView * AppKit.NSMenu * AppKit.NSEvent * nuint -> AppKit.NSMenu
override this.MenuForEvent : AppKit.NSTextView * AppKit.NSMenu * AppKit.NSEvent * nuint -> AppKit.NSMenu

Parameters

view
NSTextView
menu
NSMenu
theEvent
NSEvent
charIndex
System.System.UIntPtr System.unativeint

Returns

Attributes

Applies to