Determines whether a drag operation can proceed. This method is required for a browser to be a drag source.
Original signature is '- (BOOL)browser:(NSBrowser *)browser writeRowsWithIndexes:(NSIndexSet *)rowIndexes inColumn:(NSInteger)column toPasteboard:(NSPasteboard *)pasteboard'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
bool BrowserWriteRowsWithIndexesInColumnToPasteboard( NSBrowser browser, NSIndexSet rowIndexes, NSInteger column, NSPasteboard pasteboard )
Function BrowserWriteRowsWithIndexesInColumnToPasteboard ( _ browser As NSBrowser, _ rowIndexes As NSIndexSet, _ column As NSInteger, _ pasteboard As NSPasteboard _ ) As Boolean
bool BrowserWriteRowsWithIndexesInColumnToPasteboard( NSBrowser^ browser, NSIndexSet^ rowIndexes, NSInteger column, NSPasteboard^ pasteboard )
Parameters
- browser (NSBrowser)
- The browser.
- rowIndexes (NSIndexSet)
- The indexes of the rows the user is dragging.
- column (NSInteger)
- The index of the column containing the dragged rows.
- pasteboard (NSPasteboard)
- The pasteboard containing the content from the dragged rows.
Return Value
YES to allow the dragging operation to proceed (see discussion for further details); NO to disallow it.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)