[Newbies] Constructing the browser morph
kmr1642 at yahoo.com
Fri Feb 13 22:51:52 UTC 2009
No, not trying to build anything, just trying to understand how the browser
Looking at the OmniBrowser, I don't see anything as direct as the
but it does have an OBBrowser>>buildOn: method, which does get executed, and
to create the browser view from some kind of description. This might also
it takes longer to come up on the screen than using the older 'Browser'.
Hernán Morales Durand wrote:
> Hello Michael,
> If you are trying to construct a new browser, you can take a look at the
> OmniBrowser framework. http://wiki.squeak.org/squeak/5646
> Select the script in this page and doIt for installation:
> (And install the "Installer" package using the Monticello Browser - Add
> Repository - from http://www.squeaksource.com/Installer.html if you do not
> have Installer in your image)
> 2009/2/12 kmr1642 <kmr1642 at yahoo.com>
>> 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?
View this message in context: http://www.nabble.com/Constructing-the-browser-morph-tp21981508p22006404.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
More information about the Beginners