• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSBrowser selections
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: NSBrowser selections
      • From: Tom Waters <email@hidden>
    • Re: NSBrowser selections
      • From: Tom Waters <email@hidden>
  • Prev by Date: OT: "Tricks" of the "Trade"
  • Next by Date: Re: "Tricks" of the "Trade"
  • Previous by thread: Re: NSSavePanel with a Sheet, strange callBack definition
  • Next by thread: Re: NSBrowser selections
  • Index(es):
    • Date
    • Thread