Clickable NSImageCell in NSMatrix
Clickable NSImageCell in NSMatrix
- Subject: Clickable NSImageCell in NSMatrix
- From: Angelo Chen <email@hidden>
- Date: Sun, 25 Jun 2006 00:58:43 -0700 (PDT)
Hi,
I subclass a NSImageCell and used it in NSMatrix, it
works. I'd like to make each cell in the NSMatrix
clickable like button, when it is clicked it will
remain highlited, i have added following to the
subclass, but does not work:
@interface ClipImage : NSImageCell {
id target;
SEL action;
}
-(id) target;
-(void) setTarget:(id)anObject;
- (SEL) action;
- (void) setAction:(SEL)aSelector;
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
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