logo       

Re: I am a total beginner with some questions: msg#00126

lang.smalltalk.squeak.beginners

Subject: Re: I am a total beginner with some questions

Hi,

On Wed, Apr 16, 2008 at 12:29 AM, kennellgr <cboneg5@xxxxxxxxx> 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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise