Re: Notification of selection change/no selection from NSBrowser?
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