<br><br><div class="gmail_quote">On Mon, Mar 23, 2009 at 12:45 AM, Kevin Polston <span dir="ltr">&lt;<a href="mailto:khwp.01@googlemail.com">khwp.01@googlemail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi<br>
<br>
I&#39;m just beginning to learn Smalltalk.  I&#39;ve been using Cincom&#39;s VisualWorks and have been writing a small GUI application (Text boxes, radio buttons, action buttons - that kind of thing) using MVC.  I&#39;ve now come across Squeak and have been looking for a similar set of classes (or a package) to help me do a similar GUI application in Squeak but I can&#39;t seem to find anything.  Can anybody help me here - some pointers to a tutorial would be fantastic.<br>

</blockquote></div><br><br>The GUI components in the base Squeak image are mostly implemented in Morphic. The classes are:<br><br>Text boxes: PluggableTextMorph, TextFieldMorph.<br>Radio buttons: UpdatingThreePhaseButtonMorph, ThreePhaseButtonMorph, ButtonMorph, ...<br>
Normal buttons: SimpleButtonMorph, UpdatingSimpleButtonMorph.<br>Windows: SystemWindow<br><br>I dislike Morphic and I don&#39;t hide the fact. It&#39;s a huge time-waster when you&#39;re trying to get things to work right. Instead, I use ToolBuilder (Google it), which gives a simplified API that has most of what I need. ToolBuilder is available in standard Squeak images, although I have updated packages lying around somewhere. There&#39;s no documentation (afaik) and you&#39;ll need to rely on example code. One day I plan to fix that.<br>
<br>If you want your user interface to actually look respectable, then these are your options:<br><br>* Go back to VisualWorks.<br>* Try Pharo where a lot of UI work has been done.<br>* Try Seaside for web-based applications.<br>
* Use WxSqueak or GtkSqueak which use native widgets. I&#39;ve found WxSqueak to work okay and look quite nice, although you&#39;ll be working with old and experimental software.<br><br>Gulik.<br><br>-- <br><a href="http://gulik.pbwiki.com/">http://gulik.pbwiki.com/</a><br>