The following constants represent button masks for NSTabletPoint events or mouse events with subtype NSTabletPointEventSubtype. The buttonMask method returns a bit mask, which you test with one or more of these constants to determine the state of the buttons on a tablet pointing device.
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
[FlagsAttribute] public enum TabletEventMask
<FlagsAttribute> _ Public Enumeration TabletEventMask
[FlagsAttribute] public enum class TabletEventMask
Members
Member | Description |
---|---|
NSPenTipMask | The pen tip is activated. Available in Mac OS X v10.4 and later. |
NSPenLowerSideMask | The button on the lower side of the device is activated. Available in Mac OS X v10.4 and later. |
NSPenUpperSideMask | The button on the upper side of the device is activated. Available in Mac OS X v10.4 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)