Einhugur macOS Bridge plugin. |
|
NSButton.ButtonTypeValues Enum
Enum for button types.
Note: Not all button types are made for supporting Touch Bars.
enum NSButton.ButtonTypeValues
Constants
MomentaryLight = 0 | Value if 0 on this one. (No documentation found in the Apple docs) |
PushOnPushOff = 1 | Value if 1 on this one. (No documentation found in the Apple docs)
This one we successfully used in the example projects for sticky toggle button on the Touch Bar. |
Toggle = 2 | Value if 2 on this one. (No documentation found in the Apple docs) |
Switch = 3 | Value if 3 on this one. (No documentation found in the Apple docs) |
Radio = 4 | Value if 4 on this one. (No documentation found in the Apple docs) |
MomentaryChange = 5 | Value if 5 on this one. (No documentation found in the Apple docs) |
OnOff = 6 | Value if 6 on this one. (No documentation found in the Apple docs) |
MomentaryPushIn = 7 | Value if 7 on this one. (No documentation found in the Apple docs) |
Accelerator = 8 | Value if 8 on this one. (No documentation found in the Apple docs) (macOS 10.10.3 or later needed for this one) |
MultiLevelAccelerator = 9 | Value if 9 on this one. (No documentation found in the Apple docs) (macOS 10.10.3 or later needed for this one) |