NSDraggingInfo

Crowd-sourced documentation and tutorials by the Cocoa developer community
Jump to: navigation, search

http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSDraggingInfo_Protocol/

Constants that are returned by %%BEGINCODESTYLE%%draggingSourceOperationMask%%ENDCODESTYLE%%


(The following lines are from %%BEGINCODESTYLE%%NSDragging.h%%ENDCODESTYLE%%)

/ protocol for the sender argument of the messages sent to a drag destination. The view or window that registered dragging types sends these messages as dragging is

happening to find out details about that session of dragging.
/

@protocol NSDraggingInfo - (NSWindow )draggingDestinationWindow; - (NSDragOperation)draggingSourceOperationMask; - (NSPoint)draggingLocation; - (NSPoint)draggedImageLocation; - (NSImage )draggedImage; - (NSPasteboard )draggingPasteboard; - (id)draggingSource; - (int)draggingSequenceNumber; - (void)slideDraggedImageTo:(NSPoint)screenPoint; @end

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox