[squeak-dev] Execute on Launch?
John M McIntosh
johnmci at smalltalkconsulting.com
Sun Sep 7 18:58:14 UTC 2008
On Sep 7, 2008, at 5:13 PM, Bert Freudenberg wrote:
>> In a #initialize class method for your class, add the line:
>> Smalltalk addToStartUpList: self.
>> Evaluate this one time to add your class to the system startup
>> list. This causes your #startup: method to be called whenever
>> the image is restarted.
>>
>> Step three:
>> Save your image, restart, and see if it works.
>>
>> Dave
>
> #startUp: works better ;)
>
> - Bert -
It's fair to mention that you can indicate where in the sequence of
startup items you would like to start
addToStartUpList:after:
Obviously if you are fiddling with the font system (aka Sophie) you
want to do that *before* the Morphic/Tweak UI
startup: runs...
--
=
=
=
========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
=
=
=
========================================================================
More information about the Squeak-dev
mailing list
|