FROM : Brian Ganninger
DATE : Wed Dec 01 20:41:36 2004
Simplest solution is to call a method directly when clicked on. The
rest of the time notifications take care of informing you of selection
changes.
[yourTable setTarget:self];
[yourTable setAction:@selector(yourSingleClickAction:)];
- brian
On Dec 1, 2004, at 8:23 AM, Danny Frey wrote:
>
> Just a quickie...
>
> Anyone know how I can get notified (or anything) when a row gets
> clicked in an NSTable (or NSOutlineView) - wait for it - when it's
> already selected! The class seems to adopt the attitude: "Well hell
> I'm already selected so what does he need to know for."
>
> ... and before you start, yes I do have a good reason to need this and
> I really don't think it's counter to Apples UI guidelines ;-)
>
> All the best, and many thanks in advance,
>
> Danny
>
>
> BTW, a solution without resorting to mouse coords would be nice.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/
> <email_removed>
>
> This email sent to <email_removed>
>
DATE : Wed Dec 01 20:41:36 2004
Simplest solution is to call a method directly when clicked on. The
rest of the time notifications take care of informing you of selection
changes.
[yourTable setTarget:self];
[yourTable setAction:@selector(yourSingleClickAction:)];
- brian
On Dec 1, 2004, at 8:23 AM, Danny Frey wrote:
>
> Just a quickie...
>
> Anyone know how I can get notified (or anything) when a row gets
> clicked in an NSTable (or NSOutlineView) - wait for it - when it's
> already selected! The class seems to adopt the attitude: "Well hell
> I'm already selected so what does he need to know for."
>
> ... and before you start, yes I do have a good reason to need this and
> I really don't think it's counter to Apples UI guidelines ;-)
>
> All the best, and many thanks in advance,
>
> Danny
>
>
> BTW, a solution without resorting to mouse coords would be nice.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/
> <email_removed>
>
> This email sent to <email_removed>
>
| Related mails | Author | Date |
|---|---|---|
| Danny Frey | Dec 1, 15:23 | |
| j o a r | Dec 1, 20:33 | |
| Brian Ganninger | Dec 1, 20:41 | |
| Eric Forget | Dec 1, 21:24 | |
| Douglas A. Welton | Dec 1, 22:28 |






Cocoa mail archive

