May 2003
Intermediate to advanced
566 pages
27h 29m
English
NSDraggingInfo — Mac OS X 10.0
This protocol declares methods that are used to provide an interface
to objects that represent dragging sessions. When a
dragging
session begins, an object that conforms to this protocol is
automatically created, and is the sender of all messages to the
destination object, which implements the methods outlined in the
NSDraggingDestination protocol.
NSDraggingInfo exists to publish the interface for
this object that represents the dragging operation, and as such
developers never need to implement these methods.
@protocol NSDraggingInfo
|
// Instance Methods
|
- (NSWindow *)draggingDestinationWindow;
|
- (NSDragOperation)draggingSourceOperationMask;
|
- (NSPoint)draggingLocation;
|
- (NSPoint)draggedImageLocation;
|
- (NSImage *)draggedImage;
|
- (NSPasteboard *)draggingPasteboard;
|
- (id)draggingSource;
|
- (int)draggingSequenceNumber;
|
- (void)slideDraggedImageTo:(NSPoint)screenPoint; |
- (NSArray *)namesOfPromisedFilesDroppedAtDestination:(NSURL *)dropDestination; |
@end |
Read now
Unlock full access