Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSDraggingSessionMBS class.
NSDraggingSessionMBS.animatesToStartingPositionsOnCancelOrFail as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Drag & Drop | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This property should be set immediately after creating the dragging session.
The default value is true.
Available in OS X v10.7 and later.
(Read and Write computed property)
Some examples using this property:
NSDraggingSessionMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Drag & Drop | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
NSDraggingSessionMBS.draggingFormation as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Drag & Drop | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Setting this value causes the dragging formation to change immediately, provided a valid destination has not overriden the behavior. If the dragging session hasn't started yet, the dragging items will animate into formation immediately upon start. It is highly recommended to never change the formation when starting a drag.
The default value is NSDraggingFormationNone.
Available in OS X v10.7 and later.
(Read and Write computed property)
NSDraggingSessionMBS.draggingLeaderIndex as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Drag & Drop | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The index is to an element in the array passed as the first parameter to the NSView method beginDraggingSessionWithItem.
The default is the NSDraggingItem closest to the location field in the event parameter that was passed to the beginDraggingSessionWithItems method.
Available in OS X v10.7 and later.
NSDraggingSessionMBS.draggingLocation as NSPointMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Drag & Drop | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Available in OS X v10.7 and later.
NSDraggingSessionMBS.draggingPasteboard as NSPasteboardMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Drag & Drop | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Available in OS X v10.7 and later.
NSDraggingSessionMBS.draggingSequenceNumber as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Drag & Drop | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Available in OS X v10.7 and later.
The items on this page are in the following plugins: MBS MacCocoa Plugin.