[Newbies] I am a total beginner with some questions
Michael Haupt
mhaupt at gmail.com
Thu Apr 17 13:48:15 UTC 2008
Hi,
On Wed, Apr 16, 2008 at 12:29 AM, kennellgr <cboneg5 at gmail.com> wrote:
> I see what you mean about simplifying it - I'll do that. You said that this
> method is a message and needs to be sent to an object - which I understand -
> but now my question is which object? what object do I need to send
> gdkDKeyDown to in order for this to return true or false?
the method should be an (instance or class) method of some class. You
should create an instance of that class, and send the message to that
instance.
> By the way, I did read Squeak By Example.
Then you should know how to create classes, add methods to, and
instantiate them.
Best,
Michael
More information about the Beginners
mailing list