El 4/7/08 6:44 PM, "kennellgr" <[EMAIL PROTECTED]> escribió:

> I really like programming (I've done some in C) and I decided I wanted to try
> doing some programming on my Mac. I spent hours online trying to find
> something that I could learn and settled on Squeak. I have it and barely
> understand the basics of it.
> 
> A few Questions:
> 
> 1. What do I do to test whether or not a key has been pressed (in a method I
> want it to say 'if C key is pressed down do this')
> 
> 2. What do I do to display a picture that I have on my computer?

Go for 
http://ftp.squeak.org/various_images/FunSqueak/FunSqueak3.10alpha.6.zip
Into this you found the excellent "ProgrammingMorphs" tutorial by LexSpoon.

The short answer is you must look by handleKeystroke: message and similars
sended to Morph and inherited classes..

Any Squeak could load .png,.jpg,.gif.
Via drag and drop for 3.8 and newer and via fileList window for all.

Edgar


_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to