• 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: NSColorWell modal, and actions?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: NSColorWell modal, and actions?


  • Subject: re: NSColorWell modal, and actions?
  • From: Anthony Duer <email@hidden>
  • Date: Tue, 13 Jul 2004 11:02:54 -0700

If you take a look at NSColorWell's superclass, NSControl, you'll notice the methods you're looking for. -setTarget and -setAction. Set the target to self and the action to the method you want to be called when it changes and it should work as you're expecting.

~Anthony Duer
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: NSTableView delegate not getting called
  • Next by Date: Re: NSTableView delegate not getting called
  • Previous by thread: Re: NSColorWell modal, and actions?
  • Next by thread: Open Recent Menu Item
  • Index(es):
    • Date
    • Thread