MonobjcMonobjc Documented Class Library
NSEventType Enumeration
NamespacesMonobjc.AppKitNSEventType

These constants represent various kinds of events. They are returned by type and are used as the first argument to the methods enterExitEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:trackingNumber:userData:, keyEventWithType:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:, mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:, and otherEventWithType:location:modifierFlags:timestamp:windowNumber:context:subtype:data1:data2:.

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public enum NSEventType
Public Enumeration NSEventType
public enum class NSEventType
Members
MemberDescription
NSLeftMouseDown

See “Handling Mouse Events” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.0 and later.


NSLeftMouseUp

See “Handling Mouse Events” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.0 and later.


NSRightMouseDown

See “Handling Mouse Events” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.0 and later.


NSRightMouseUp

See “Handling Mouse Events” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.0 and later.


NSMouseMoved

See “Handling Mouse Events” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.0 and later.


NSLeftMouseDragged

See “Handling Mouse Events” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.0 and later.


NSRightMouseDragged

See “Handling Mouse Events” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.0 and later.


NSMouseEntered

See “Mouse-Tracking and Cursor-Update Events” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.0 and later.


NSMouseExited

See “Mouse-Tracking and Cursor-Update Events” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.0 and later.


NSKeyDown

See “Handling Key Events” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.0 and later.


NSKeyUp

See “Handling Key Events” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.0 and later.


NSFlagsChanged

See “Handling Key Events” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.0 and later.


NSAppKitDefined

See “Event Objects and Types” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.0 and later.


NSSystemDefined

See “Event Objects and Types” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.0 and later.


NSApplicationDefined

See “Event Objects and Types” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.0 and later.


NSPeriodic

See “Event Objects and Types” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.0 and later.


NSCursorUpdate

See “Mouse-Tracking and Cursor-Update Events” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.0 and later.


NSScrollWheel

See “Handling Mouse Events” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.0 and later.


NSTabletPoint

An event representing the current state of a tablet pointing device, including its location, pressure, and tilt.

Available in Mac OS X v10.4 and later.


NSTabletProximity

An event representing the proximity of a pointing device to its tablet.

Available in Mac OS X v10.4 and later.


NSOtherMouseDown

See “Handling Mouse Events” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.1 and later.


NSOtherMouseUp

See “Handling Mouse Events” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.1 and later.


NSOtherMouseDragged

See “Handling Mouse Events” in Cocoa Event-Handling Guide.

Available in Mac OS X v10.1 and later.


NSEventTypeGesture

An event that represents some type of gesture such as NSEventTypeMagnify, NSEventTypeSwipe, NSEventTypeRotate, NSEventTypeBeginGesture, or NSEventTypeEndGesture.

Available in Mac OS X v10.6 and later.


NSEventTypeMagnify

An event representing a pinch open or pinch close gesture.

Available in Mac OS X v10.6 and later.


NSEventTypeSwipe

An event representing a swipe gesture.

Available in Mac OS X v10.6 and later.


NSEventTypeRotate

An event representing a rotation gesture.

Available in Mac OS X v10.6 and later.


NSEventTypeBeginGesture

An event that represents a gesture beginning.

Available in Mac OS X v10.6 and later.


NSEventTypeEndGesture

An event that represents a gesture ending.

Available in Mac OS X v10.6 and later.


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)