• 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
Re: Notification of selection change/no selection from NSBrowser?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Notification of selection change/no selection from NSBrowser?


  • Subject: Re: Notification of selection change/no selection from NSBrowser?
  • From: Ryan Britton <email@hidden>
  • Date: Fri, 3 Feb 2006 07:49:44 -0800

There is not an easy way to do this as far as I know. You'll need to subclass either the cell or the browser itself in order to find out when the selection changes since the one delegate method for this never seems to be called:

- (BOOL)browser:(NSBrowser *)sender selectRow:(int)row inColumn:(int) column

On Feb 3, 2006, at 7:28 AM, Guy Umbright wrote:

NSBrowser really is in need of some TLC from Apple, isn't it?

Anyway, is there any way for NSBrowser to generate a notification for when the selection changes
(or goes away) ?


I am trying to tie the enabled state of a button to the selection state of the NSBrowser and unlike
NSTableView, it is not clear whether or how this is possible (without a great deal of fuss).


Thanks,

Guy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Notification of selection change/no selection from NSBrowser? (From: Guy Umbright <email@hidden>)

  • Prev by Date: Re: Converting error codes to readable strings?
  • Next by Date: Re: [High Spam] Re: Converting error codes to readable strings?
  • Previous by thread: Notification of selection change/no selection from NSBrowser?
  • Next by thread: Q: Binding to an NSMatrix (of checkboxes)
  • Index(es):
    • Date
    • Thread