AW: [Newbies] Constructing the browser morph
kmr1642
kmr1642 at yahoo.com
Fri Feb 13 23:04:06 UTC 2009
Josef Vukovic-2 wrote:
>
>
>
>
>
>> Von: kmr1642 <kmr1642 at yahoo.com>
>> An: beginners at lists.squeakfoundation.org
>> Betreff: [Newbies] Constructing the browser morph
>> Datum: Thu, 12 Feb 2009 10:04:15 -0800 (PST)
>
>> When you start a browser in Morphic with 'Browser open'
>> the method 'Browser>>openEditString: aString' gets executed
>> and helps construct the morph that appears in the world.
>> no problem so far.
>>
>> But also in the class there is the method:
>> 'Browser>>buildWith: builder'
>> This method first describes the browser's widgets, putting
>> the descriptions into a spec of some kind. then it executes the spec
>> with a builder provided by a sender, presumably to construct
>> the specified morph. But this method isn't executed
>> when the brower starts. And I can't locate a real sender for it.
>>
>> Can anyone explain when and why this method gets executed?
>>
>> thanks.
>> Michael
>> --
>> View this message in context:
>> href='http://www.nabble.com/Constructing-the-browser-morph-tp21981508p219815
>> 08.html'>http://www.nabble.com/Constructing-the-browser-morph-tp21981508p219
>> 81508.html
>> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Beginners mailing list
>> Beginners at lists.squeakfoundation.org
>>
>> href='http://lists.squeakfoundation.org/mailman/listinfo/beginners'>http://l
>> ists.squeakfoundation.org/mailman/listinfo/beginners
>
> How did you look at the execution stack? with halt if so where to put it
> in in which method?
>
>
I put 'self halt.' right after the local variable declaration
in the methods:
Browser>>openEditString: aString
Browser>>buildWith: builder
and then executed a 'Browser open.'.
The openEditString: halt gets hit; the buildWith: halt doesn't.
--
View this message in context: http://www.nabble.com/AW%3A-Constructing-the-browser-morph-tp21997968p22006587.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
More information about the Beginners
mailing list