[Cuis-dev] Visible or not Visible?
Juan Vuletich
JuanVuletich at zoho.com
Wed Feb 16 15:25:29 PST 2022
Hi Folks,
Nicola, you are right. #visible and #visible: are only about the property.
Hilaire, right now we have #isInWorld . Perhaps we could add #isVisible,
or #isInWorldAndVisible, that asks for both conditions.
Thanks,
On 13/02/2022 08:27 a.m., Nicola Mingotti via Cuis-dev wrote:
>
> Hi Hilaire,
>
> this is not my kingdom so wait other people suggestions but
> browsing around i think "visible" is for you to set an object
> visible or not, as in:
>
> -----
> tmp2 _ BoxedMorph new.
> tmp2 openInWorld .
>
> tmp2 visible: false.
> tmp2 visible.
> tmp2 visible: true.
> -----
>
> If you want to check if 'aMorph' is gone paradise you may use (i see it
> from the explorer) the 'owner' message. If 'owner' is nil then
> either the morph is a World or it is gone.
> ... this supposing 'aMorph' has still not been garbadge collected.
>
>
> bye
> Nicola
>
>
>
>
>
> On 2/13/22 09:59, Hilaire Fernandes via Cuis-dev wrote:
>>
>> Hi,
>>
>> This code returns true, I am not sure it is right?
>>
>> BoxedMorph new ::
>> openInWorld;
>> delete;
>> visible
>>
>> Hilaire
>>
>> --
>> GNU Dr. Geo
>> http://drgeo.eu
>> http://blog.drgeo.eu
>>
>
--
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
https://independent.academia.edu/JuanVuletich
https://www.researchgate.net/profile/Juan-Vuletich
https://patents.justia.com/inventor/juan-manuel-vuletich
@JuanVuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220216/0b40831f/attachment.htm>
More information about the Cuis-dev
mailing list