<body><div id="__MailbirdStyleContent" style="font-size: 12pt;font-family: calibri;color: #000000">
                                        <a href="http://wiki.squeak.org/squeak/5607">http://wiki.squeak.org/squeak/5607</a><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 07.05.2018 10:34:13 schrieb H. Hirzel <hannes.hirzel@gmail.com>:</p>Squeak wiki (accessible tbrough www.squeak.org) page no 5607 gives an<br>overview of Toolbuilder.<br><br>On 5/7/18, Marcel Taeumel <marcel.taeumel@hpi.de> wrote:<br>> Hi Daniel,<br>><br>> take a look at ObjectExplorer >> #buildWith:.<br>><br>> Then take a look at the hierarchy of PluggableWidgetSpec, which maps to what<br>> you can find in ToolBuilder category "defaults". Try to understand the<br>> change/update observer pattern, which governs the communication between<br>> (pluggable) widgets and the model(s). Most tools in Squeak form a "fat<br>> model", which means that all widgets call back into one model object (i.e.<br>> Browser, Debugger, Workspace, ...).<br>><br>> Say, you want to add several buttons?<br>><br>> 1) You need a visual container such as PluggableWindowSpec or<br>> PluggablePanelSpec (or "builder pluggablePanelSpec new").<br>> 2) You configure your button spec as needed (see PluggableButtonSpec).<br>> 3) You add this spec to the container via "panelSpec children add:<br>> buttonSpec".<br>> 4) You build the whole thing via "builder build: mySpec".<br>><br>> Again, take a look at ObjectExplorer >> #buildWith: and how ObjectExplorer<br>> implements the call backs. :-)<br>><br>> Best,<br>> Marcel<br>><br>> Am 07.05.2018 10:03:37 schrieb Daniel Passaro <danpassaro@gmail.com>:<br>> I'm trying to build a pet GUI project in Squeak but I'm finding it very<br>> confusing to trace through the code that actually builds, for example, a<br>> Workspace or SystemBrowser.  Is there an up-to-date, high-level overview of<br>> how ToolBuilder works and the intended/best-practice way of creating an<br>> actual application with it?<br>><br>> I am also a Squeak and Smalltalk newbie so if ToolBuilder only makes sense<br>> if, say, you're familiar with MVC, please let me know as ToolBuilder is the<br>> first framework I've tried to use in Squeak.<br>><br>> For the record, I have skimmed some of the other Morphic tutorials but they<br>> seem to generally involve custom widgets that don't scale with the parent<br>> window.  I want to create a plain-Jane business-y GUI with scrollbars and<br>> expandable windwos, but most of the tutorials I found seemed geared towards<br>> more playful and exploratory projects (laser games and bouncing balls and<br>> etc).<br><br></danpassaro@gmail.com></marcel.taeumel@hpi.de>
                        </blockquote>
                                        </div></body>