• 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
Clickable NSImageCell in NSMatrix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Clickable NSImageCell in NSMatrix
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: top level objects and NSWindowController
  • Next by Date: Re: Helper Tool on FireWire
  • Previous by thread: Re: valueForKey and NSArray
  • Next by thread: Re: Clickable NSImageCell in NSMatrix
  • Index(es):
    • Date
    • Thread