logo       

Some sample code to help understand Morphic applications: msg#00094

lang.smalltalk.squeak.beginners

Subject: Some sample code to help understand Morphic applications

Hello all,

I've been interested to read about some of the activities of the Documentation team, as I've recently been trying to work out how to build a GUI application in Squeak.

To that end, I've built a sample image viewer application, heavily annotated, to keep a record of my understanding of the following areas:
- Morphic layout
- Use of Models and Pluggable Morphs
- Interacting with the filesystem
- Launching and managing background processes

The code is attached, and can also be found at http://www.squeaksource.com/SampleImageViewer.html

I'd appreciate it if anyone could spare some time to have a look at this sample and see if I'm making any obvious mistakes (especially my termination of processes, which I suspect isn't very robust), or if the 'squeakiness' of the code could be improved.

If anyone from the Documentation team is building a repository of sample code for beginners, I'd be happy to incorporate this application into such a repository.

Thanks in advance for any comments,
Michael

Attachment: SampleCode-ImageViewer.st
Description: Binary data

_______________________________________________
Beginners mailing list
Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/mailman/listinfo/beginners
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise