[Cuis-dev] Accessing World in a start up sequence

Juan Vuletich juan at cuis.st
Wed May 24 13:29:53 PDT 2023


On 5/24/2023 12:31 PM, Hilaire Fernandes via Cuis-dev wrote:
>
> Hi,
>
> How can I access the running world in a start-up sequence ?
>
> My observations from the start up sequence:
>
>     * *self runningWorld* -> nil
>     * *WorldMorph allInstances first* -> a World instance, using it is
>       fine!
>     * *UISupervisor ui *-> a World instance, but using it lock the image
>
> So only WorldMorph allInstances first return a usable World instance 
> in the start up sequence.
>
> When using Cuis in regular mode, all three methods to access the 
> running worl are fine.
>
>
> -- 
> GNU Dr. Geo
> http://drgeo.eu
> http://blog.drgeo.eu

Hi Hilaire,

You can't access the World, because it is not running yet during 
startup. Maybe what you need to do can be scheduled to be done after 
startup finishes?

Seem for example #snapshot:andQuit:embedded:clearAllClassState: Many 
thins are done #whenUIinSafeState:

HTH,

-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230524/ef7fe106/attachment.htm>


More information about the Cuis-dev mailing list