Re: Handling mouse click event on a NSButton
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