How to cotton up to gst (and smalltalk in common)

Today, eventually, this is a simple advertising of the GtkLauncher, but please read on.

I'm new to smalltalk and therefore, I have to learn a lot. Beside the general syntax - which seems not so hard to learn - I need an overview of the object-library which is used.

The gnu-smalltalk web-site is mostly the first place to look for information and there I found a lot of helpfull small code-snipets (like the one, how to communicate with smtp server - or the one, how to semi-automate the generation of getter- and setter methods and all the nice things).

But one thing I don't want to miss is the Browser and especially the Implementor tool of the GtkLauncher.

Of course, you can do it the "hard" way to find the dependencies between the different Objects, or the methods in them like:

st> FilePath inspect

and in the output, you will find, what methods you can use and which classes are subclasses of e.g. FilePath and so on.

But it should not be a secret, that there is a far easier way, to find these information.

Just use the Implementor-Tool of the GtkLauncher:

2396849.jpg

And here, you can enter the beginnig characters of the class you search (like "filep") and the Implementor will select and display the FilePath class. And you see directly the associated subclasses and can browse through the different method categories and methods.

Give it a try and be happy with the result!

(so am I!)

Happy coding.
Joachim.

User login