MonobjcMonobjc Documented Class Library
MenuForEvent Method (theEvent)
NamespacesMonobjc.AppKitNSViewMenuForEvent(NSEvent)

Overridden by subclasses to return a context-sensitive pop-up menu for a given mouse-down event.

Original signature is '- (NSMenu *)menuForEvent:(NSEvent *)theEvent'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSMenu MenuForEvent(
	NSEvent theEvent
)
Public Overridable Function MenuForEvent ( _
	theEvent As NSEvent _
) As NSMenu
public:
virtual NSMenu^ MenuForEvent(
	NSEvent^ theEvent
)
Parameters
theEvent (NSEvent)
An object representing a mouse-down event.
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSView.MenuForEvent(Monobjc.AppKit.NSEvent)"]

Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)