• 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: Handling mouse click event on a NSButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Handling mouse click event on a NSButton


  • Subject: Re: Handling mouse click event on a NSButton
  • From: "I. Savant" <email@hidden>
  • Date: Sun, 2 Mar 2008 21:04:11 -0500

But setAction expectes just a selector as parameter, so it seams to me
that a lot of information about the method to be called is missing.
AFAIK a selector just identifies the name of the method, but the class
to which it bellongs to is missing and also the pointer to it's
instance and the pointer to the method code.

Read the documentation again. Pay particular attention to the "target" concepts in addition to the "action" concepts.


--
I.S.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Handling mouse click event on a NSButton (From: "Felipe Monteiro de Carvalho" <email@hidden>)
 >Re: Handling mouse click event on a NSButton (From: "I. Savant" <email@hidden>)
 >Re: Handling mouse click event on a NSButton (From: "Felipe Monteiro de Carvalho" <email@hidden>)

  • Prev by Date: Re: Handling mouse click event on a NSButton
  • Next by Date: Re: Handling mouse click event on a NSButton
  • Previous by thread: Re: Handling mouse click event on a NSButton
  • Next by thread: Re: Handling mouse click event on a NSButton
  • Index(es):
    • Date
    • Thread