Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Drag & Drop | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
You start a new dragging session by calling the NSView method beginDraggingSessionWithItems method. This method immediately returns and you can further modify the properties of the dragging session. The actual drag begins at the next turn of the run loop.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
Constant | Value | Description |
---|---|---|
NSDraggingContextOutsideApplication | 0 |
Whether a drag terminates within or outside the application.
The dragging terminates outside the application. Available in OS X v10.7 and later. |
NSDraggingContextWithinApplication | 1 |
Whether a drag terminates within or outside the application.
The dragging terminates within the application. Available in OS X v10.7 and later. |
Constant | Value | Description |
---|---|---|
NSDraggingFormationDefault | 0 |
The system determined formation. Available in OS X v10.7 and later. |
NSDraggingFormationList | 3 |
Drag images are laid out vertically, non-overlapping with the left edges aligned. Available in OS X v10.7 and later. |
NSDraggingFormationNone | 1 |
Drag images maintain their set positions relative to each other/ Available in OS X v10.7 and later. |
NSDraggingFormationPile | 2 |
Drag images are placed on top of each other with random rotations. Available in OS X v10.7 and later. |
NSDraggingFormationStack | 4 |
Drag images are laid out overlapping diagonally. Available in OS X v10.7 and later. |
This class has no sub classes.
The items on this page are in the following plugins: MBS MacCocoa Plugin.
NSDraggingItemMBS - NSEdgeInsetsMBS