<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <code class="moz-txt-verticalline"><span class="moz-txt-tag"><br>
        <br>
        <br>
        <big><b><big>|pen|</big></b></big><br>
      </span></code>pen := (GraphPane openWindow: 'Simple' extent: 220 @
    200 ) pen.
    <br>
    pen
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 26.11.2014 19:39,
      <a class="moz-txt-link-abbreviated" href="mailto:beginners-request@lists.squeakfoundation.org">beginners-request@lists.squeakfoundation.org</a> wrote:<br>
    </div>
    <blockquote
      cite="mid:20141126183941.5B25D183273@mx01.masterlogin.de"
      type="cite">
      <pre wrap="">Send Beginners mailing list submissions to
        <a class="moz-txt-link-abbreviated" href="mailto:beginners@lists.squeakfoundation.org">beginners@lists.squeakfoundation.org</a>

To subscribe or unsubscribe via the World Wide Web, visit
        <a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a>
or, via email, send a message with subject or body 'help' to
        <a class="moz-txt-link-abbreviated" href="mailto:beginners-request@lists.squeakfoundation.org">beginners-request@lists.squeakfoundation.org</a>

You can reach the person managing the list at
        <a class="moz-txt-link-abbreviated" href="mailto:beginners-owner@lists.squeakfoundation.org">beginners-owner@lists.squeakfoundation.org</a>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Beginner wants to start graphic windows in Smalltalk 80 -
      need help (Hans Schueren)
   2. Re: Beginner wants to start graphic windows in Smalltalk 80        -
      need help (David T. Lewis)
   3. Re: Beginner wants to start graphic windows in Smalltalk 80        -
      need help (Michael Rice)
   4. Re: Beginners Digest, Vol 102, Issue 13 (<a class="moz-txt-link-abbreviated" href="mailto:dnorton@mindspring.com">dnorton@mindspring.com</a>)
   5. Re: Re: Beginners Digest, Vol 102, Issue 13 (Raymond Asselin)


----------------------------------------------------------------------

Message: 1
Date: Wed, 26 Nov 2014 14:10:42 +0100
From: Hans Schueren <a class="moz-txt-link-rfc2396E" href="mailto:werbung@hans-schueren.de">&lt;werbung@hans-schueren.de&gt;</a>
Subject: [Newbies] Beginner wants to start graphic windows in
        Smalltalk 80 -        need help
To: <a class="moz-txt-link-rfc2396E" href="mailto:beginners@lists.squeakfoundation.org">"beginners@lists.squeakfoundation.org"</a>
        <a class="moz-txt-link-rfc2396E" href="mailto:beginners@lists.squeakfoundation.org">&lt;beginners@lists.squeakfoundation.org&gt;</a>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:5475D152.2070206@hans-schueren.de">&lt;5475D152.2070206@hans-schueren.de&gt;</a>
Content-Type: text/plain; charset=utf-8; format=flowed


To whom it may concern ,


may i ask for some help about standard graphic routines ?

As a beginner i just have learned all the first level SYNTAX of 
smalltalk 80.

Now , you can imagine , i am interested in writing little GUI windows 
and graphics for

placing some text in the right positions.


Theese are the statements i have studied from my material.


Does anybody know why the statements not work?

Are there any "replacements" for the syntax that i posted here as example ?

Have a nice day




HERE ARE THE EXAMPLES :




| window |
window := ScheduledWindow new.
window component: 'Hello World' asComposedText.
window open




| window |
window := ScheduledWindow new.
window label: 'Fenster ohne Inhalt'.
window minimumSize: 200 @ 100; maximumSize: 400 @ 300.
window open




displayOn: aGraphicsContext
1 to: 10 do:
[:i|
aGraphicsContext translation printString
    asComposedText displayOn: aGraphicsContext.
aGraphicsContext translateBy: 15 @ 15]




Greetings


Hans
The Byte Surfer



------------------------------

Message: 2
Date: Wed, 26 Nov 2014 09:13:54 -0500
From: "David T. Lewis" <a class="moz-txt-link-rfc2396E" href="mailto:lewis@mail.msen.com">&lt;lewis@mail.msen.com&gt;</a>
Subject: Re: [Newbies] Beginner wants to start graphic windows in
        Smalltalk 80        - need help
To: "A friendly place to get answers to even the most basic questions
        about        Squeak." <a class="moz-txt-link-rfc2396E" href="mailto:beginners@lists.squeakfoundation.org">&lt;beginners@lists.squeakfoundation.org&gt;</a>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:20141126141354.GA77002@shell.msen.com">&lt;20141126141354.GA77002@shell.msen.com&gt;</a>
Content-Type: text/plain; charset=us-ascii

On Wed, Nov 26, 2014 at 02:10:42PM +0100, Hans Schueren wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">
To whom it may concern ,


may i ask for some help about standard graphic routines ?

As a beginner i just have learned all the first level SYNTAX of 
smalltalk 80.

Now , you can imagine , i am interested in writing little GUI windows 
and graphics for

placing some text in the right positions.


Theese are the statements i have studied from my material.


Does anybody know why the statements not work?

Are there any "replacements" for the syntax that i posted here as example ?

Have a nice day

</pre>
      </blockquote>
      <pre wrap="">
Hello Hans,

Can you please say what book or paper you are using? Also check if your
learning material specifies what version of Smalltalk was used for the
examples.

Your examples look like some version of the MVC user interface, which
was the original (and still very interesting) user interface in Smalltalk
and Squeak. Squeak still provides some support for MVC, so for example
there probably is some equivalent to the ScheduledWindow class used in
your example below. You may also be interested in other user interface
approaches, such as Morphic, which are very different from MVC.

Dave


</pre>
      <blockquote type="cite">
        <pre wrap="">


HERE ARE THE EXAMPLES :




| window |
window := ScheduledWindow new.
window component: 'Hello World' asComposedText.
window open




| window |
window := ScheduledWindow new.
window label: 'Fenster ohne Inhalt'.
window minimumSize: 200 @ 100; maximumSize: 400 @ 300.
window open




displayOn: aGraphicsContext
1 to: 10 do:
[:i|
aGraphicsContext translation printString
   asComposedText displayOn: aGraphicsContext.
aGraphicsContext translateBy: 15 @ 15]




Greetings


Hans
The Byte Surfer

_______________________________________________
Beginners mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a>
</pre>
      </blockquote>
      <pre wrap="">

------------------------------

Message: 3
Date: Wed, 26 Nov 2014 12:08:52 -0500
From: Michael Rice <a class="moz-txt-link-rfc2396E" href="mailto:limitcase@gmail.com">&lt;limitcase@gmail.com&gt;</a>
Subject: Re: [Newbies] Beginner wants to start graphic windows in
        Smalltalk 80        - need help
To: "A friendly place to get answers to even the most basic questions
        about        Squeak." <a class="moz-txt-link-rfc2396E" href="mailto:beginners@lists.squeakfoundation.org">&lt;beginners@lists.squeakfoundation.org&gt;</a>
Message-ID:
        <a class="moz-txt-link-rfc2396E" href="mailto:CAGw08vM7AVJMAP6PGHMY7EZdx_Mu7z4K06Sy2nNQfy0NBJu7MA@mail.gmail.com">&lt;CAGw08vM7AVJMAP6PGHMY7EZdx_Mu7z4K06Sy2nNQfy0NBJu7MA@mail.gmail.com&gt;</a>
Content-Type: text/plain; charset="utf-8"

I was just browsing FormEditor. A lot has changed since the original MVC,
some to make it compatible with Morphic, e.g., the instance method 'edit'
of Form

edit
"Open a form editor on this form. "

Project current formEdit: self

As you can see, the current project has some responsibilities.

Project current -&gt;  a MVCProject (Unnamed) in a ControlManager


current
"Answer the project that is currently being used."

^CurrentProject

a class variable of Project.


For Project:

formEdit: aForm
"Start up an instance of the form editor on a form."

self subclassResponsibility


Subclasses of Project are MVCProject and MorphicProject

For MVCProject:


formEdit: aForm
"Start up an instance of the FormEditor on a form..."

FormEditor openOnForm: aForm

Poking around in FormEditor and its associated classes, while tedious, can
yield useful information on how these views, models, and controllers
inter-operate.


Michael





On Wed, Nov 26, 2014 at 9:13 AM, David T. Lewis <a class="moz-txt-link-rfc2396E" href="mailto:lewis@mail.msen.com">&lt;lewis@mail.msen.com&gt;</a> wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">On Wed, Nov 26, 2014 at 02:10:42PM +0100, Hans Schueren wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">
To whom it may concern ,


may i ask for some help about standard graphic routines ?

As a beginner i just have learned all the first level SYNTAX of
smalltalk 80.

Now , you can imagine , i am interested in writing little GUI windows
and graphics for

placing some text in the right positions.


Theese are the statements i have studied from my material.


Does anybody know why the statements not work?

Are there any "replacements" for the syntax that i posted here as
</pre>
        </blockquote>
        <pre wrap="">example ?
</pre>
        <blockquote type="cite">
          <pre wrap="">
Have a nice day

</pre>
        </blockquote>
        <pre wrap="">
Hello Hans,

Can you please say what book or paper you are using? Also check if your
learning material specifies what version of Smalltalk was used for the
examples.

Your examples look like some version of the MVC user interface, which
was the original (and still very interesting) user interface in Smalltalk
and Squeak. Squeak still provides some support for MVC, so for example
there probably is some equivalent to the ScheduledWindow class used in
your example below. You may also be interested in other user interface
approaches, such as Morphic, which are very different from MVC.

Dave


</pre>
        <blockquote type="cite">
          <pre wrap="">


HERE ARE THE EXAMPLES :




| window |
window := ScheduledWindow new.
window component: 'Hello World' asComposedText.
window open




| window |
window := ScheduledWindow new.
window label: 'Fenster ohne Inhalt'.
window minimumSize: 200 @ 100; maximumSize: 400 @ 300.
window open




displayOn: aGraphicsContext
1 to: 10 do:
[:i|
aGraphicsContext translation printString
   asComposedText displayOn: aGraphicsContext.
aGraphicsContext translateBy: 15 @ 15]




Greetings


Hans
The Byte Surfer

_______________________________________________
Beginners mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a>
</pre>
        </blockquote>
        <pre wrap="">_______________________________________________
Beginners mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a>

</pre>
      </blockquote>
      <pre wrap="">-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/pipermail/beginners/attachments/20141126/33955e66/attachment-0001.htm">http://lists.squeakfoundation.org/pipermail/beginners/attachments/20141126/33955e66/attachment-0001.htm</a>

------------------------------

Message: 4
Date: Wed, 26 Nov 2014 12:42:33 -0500 (GMT-05:00)
From: <a class="moz-txt-link-rfc2396E" href="mailto:dnorton@mindspring.com">&lt;dnorton@mindspring.com&gt;</a>
Subject: [Newbies] Re: Beginners Digest, Vol 102, Issue 13
To: <a class="moz-txt-link-abbreviated" href="mailto:beginners@lists.squeakfoundation.org">beginners@lists.squeakfoundation.org</a>
Message-ID:
        <a class="moz-txt-link-rfc2396E" href="mailto:7065423.1417023753041.JavaMail.root@elwamui-darkeyed.atl.sa.earthlink.net">&lt;7065423.1417023753041.JavaMail.root@elwamui-darkeyed.atl.sa.earthlink.net&gt;</a>
        
Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL: <a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/pipermail/beginners/attachments/20141126/ce3a91d8/attachment-0001.htm">http://lists.squeakfoundation.org/pipermail/beginners/attachments/20141126/ce3a91d8/attachment-0001.htm</a>

------------------------------

Message: 5
Date: Wed, 26 Nov 2014 13:38:55 -0500
From: Raymond Asselin <a class="moz-txt-link-rfc2396E" href="mailto:jgr.asselin@me.com">&lt;jgr.asselin@me.com&gt;</a>
Subject: Re: [Newbies] Re: Beginners Digest, Vol 102, Issue 13
To: <a class="moz-txt-link-rfc2396E" href="mailto:dnorton@mindspring.com">"dnorton@mindspring.com"</a> <a class="moz-txt-link-rfc2396E" href="mailto:dnorton@mindspring.com">&lt;dnorton@mindspring.com&gt;</a>,        "A friendly
        place to get answers to even the most basic questions        about        Squeak."
        <a class="moz-txt-link-rfc2396E" href="mailto:beginners@lists.squeakfoundation.org">&lt;beginners@lists.squeakfoundation.org&gt;</a>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:C0FC5870-A03B-4C8B-9178-E9BEB374DF0F@me.com">&lt;C0FC5870-A03B-4C8B-9178-E9BEB374DF0F@me.com&gt;</a>
Content-Type: text/plain; charset="utf-8"

I suppose you put "self halt." ?

Envoyé de mon iPhone

</pre>
      <blockquote type="cite">
        <pre wrap="">Le 2014-11-26 à 12:42, <a class="moz-txt-link-abbreviated" href="mailto:dnorton@mindspring.com">dnorton@mindspring.com</a> a écrit :

Hi Casey,

The target is Browser, which does not override the method.
The hierarchy is: ProtoObject, Object, Model, StringHolder (has the method), CodeHolder, Browser, et seq.

 

I put the halt in StringHolder&gt;&gt;perform:orSendTo: and that didn't bring up the debugger.

 

There are 13 implementers of perform:orSendTo: and I can put a halt in each one in order to start the research, but I don't understand why the hierarchy seems to be bypassed.

 

- Dan
</pre>
        <blockquote type="cite">
          <pre wrap="">Date: Tue, 25 Nov 2014 21:43:57 -0800
From: Casey Ransberger 
Subject: Re: [Newbies] accept (s)
To: <a class="moz-txt-link-rfc2396E" href="mailto:dnorton@mindspring.com">"dnorton@mindspring.com"</a> , "A friendly
place to get answers to even the most basic questions about Squeak."

Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:3B1C3417-8C08-4CB9-844B-E6D28A51C0F1@gmail.com">&lt;3B1C3417-8C08-4CB9-844B-E6D28A51C0F1@gmail.com&gt;</a>
Content-Type: text/plain; charset="us-ascii"

Hi Dan,

That doesn't sound quite right. 

#perform:orSendTo: is probably overridden in Browser, but... have you looked to see if there's an implementation of it on Object or maybe ProtoObject or something like that?

I'm pretty sure that #perform: and cousins are usually general. 

Not sure (on a cellphone) without looking at an actual running system, but try looking up the inheritance chain for another implementation of the same selector. That might help. 

Let me know either way, when I get back to a real computer I'll look into it for you if you don't get it figured out by then. 

Good hunting!

Casey

</pre>
          <blockquote type="cite">
            <pre wrap="">On Nov 25, 2014, at 5:30 PM, wrote:

An inspector for the menu item "accept (s)" reveals a selector of "#perform:orSendTo:" which is implemented in Browser.

I want to follow the code and I put a halt in "#perform:orSendTo:" but the debugger never opened. What gives?



- Dan

_______________________________________________
Beginners mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a>
</pre>
          </blockquote>
        </blockquote>
        <pre wrap="">
_______________________________________________
Beginners mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a>
</pre>
      </blockquote>
      <pre wrap="">-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/pipermail/beginners/attachments/20141126/10cb5abd/attachment.htm">http://lists.squeakfoundation.org/pipermail/beginners/attachments/20141126/10cb5abd/attachment.htm</a>

------------------------------

_______________________________________________
Beginners mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a>


End of Beginners Digest, Vol 102, Issue 14
******************************************
</pre>
    </blockquote>
    <br>
  </body>
</html>