[Newbies] Smalltalk klass dokumentation ?

Kommentaren kommentaren at bredband.net
Tue May 11 10:46:04 UTC 2010


Hi!

I wonder if there is any documentation that documents the different classes and methods available in Smalltalk. Preferably like javadoc in java.

For example, somewhere you could go when you want to understand a code like the following (taken from the Laser-game tutorial at squeak).


panel := RectangleMorph new borderWidth: 0;

   color: Color white;

   layoutPolicy: ProportionalLayout new.





panel

   addMorph: self makeQuitGameButton

   fullFrame: 

      (LayoutFrame

         fractions: (0 at 1 corner: 1 at 1)

         offsets: (

            (20 @ (vertOffsetTop negated))

        corner: (-20 @ (vertOffsetBtm negated)))).

 


That is, you make a panel using the ProportionalLayout and then you add buttons to it. Here you need to know what the ProportionalLayout  is and how the fractions and offsets parameters work
to understand how the buttons are placed.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20100511/554dda68/attachment.htm


More information about the Beginners mailing list