Instance Method

imageBrowser:writeItemsAtIndexes:toPasteboard:

Signals that a drag should begin.

Declaration

- (NSUInteger)imageBrowser:(IKImageBrowserView *)aBrowser writeItemsAtIndexes:(NSIndexSet *)itemIndexes toPasteboard:(NSPasteboard *)pasteboard;

Parameters

aBrowser

An image browser view.

itemIndexes

The indexes of the items that should be dragged.

pasteboard

The pasteboard to copy the items to.

Return Value

The number of items written to the pasteboard.

Discussion

This method is optional. It is invoked after Image Kit determines that a drag should begin, but before the drag has been started.

See Also

Supporting Item Editing (Optional)

- imageBrowser:removeItemsAtIndexes:

Signals that a remove operation should be applied to the specified items.

- imageBrowser:moveItemsAtIndexes:toIndex:

Signals that the specified items should be moved to the specified destination.