NSBrowser selections
NSBrowser selections
- Subject: NSBrowser selections
- From: Tom Waters <email@hidden>
- Date: Fri, 8 Jun 2001 12:02:11 -0700
It seems like there is a missing method in NSBrowser for setting
multiple selected items.
selectRow:inColumn: currently sets a single row as the selection.
shouldn't there be a version that lets you extend the selection, like
NSTableView?
selectRow:(int)row inColumn:(int)col byExtendingSelection:(BOOL)extend
If you set allowsMultipleSelection, then the user can drag out a
selection of several cells, including branch cells if you've set
allowsBranchSelection, but there is no way to do the same thing from
code.
It is odd that there is a selectAll, but no deselectAll, or for that
matter no deselectRow:inColumn:
This is a very frustrating class that seems incomplete.