More literature links are found here.
Finally, many methods contain a comment which demonstrates a typical use of that method.
Although the smalltalk language itself is simple and easy to learn,
there is a huge class library containing ready to be used building blocks.
Dont get shocked by the number of existing classes and methods
- you dont have to know and remember everything by heart
(even the authors of those systems need the browser to find their way through ;-).
The main differences are found in the implementation of the view classes; it is highly recommended, to read:
which gives you a step-by-step tutorial on this.If you want to do some GUI programming, read:
which gives a short introduction on how to use the UIPainter, which is a tool for painting graphical user interfaces.When programming, start with some of the included graphical demos. Load them using the FileBrowser and have a look at and understand the code.
Nice short demos are found in the directory doc/coding"clients/Demos".doc/coding"
Then turn to the more complex demos - the DrawTool is a pretty
(and powerful) application to look at.
Also, the 3D demos found in "clients/GLdemos" invite to
play and try new things.
The later text also gives you a step-by-step guide and examples of how you can create and include your own binary class libraries.
Look into already existing methods which include primitive code to see
concrete examples. A browser on all methods with primitive code is opened by:
(be a bit patient; startup takes a while, since all methods source has to be processed ...)
SystemBrowser
browseMethodsWhere:[:cls :mthd :sel | mthd hasPrimitiveCode]
title:'methods with primitive code'
If your system supports dynamic loading of binary code (currently SYS5.4 and Linux systems), primitive (i.e. C-) code can be typed right into the browser and accepted.
Copyright © 1996 Claus Gittinger Development & Consulting, all rights reserved
<cg@exept.de>
Doc $Revision: 1.26 $ $Date: 2003/04/01 18:02:17 $