[squeak-dev] Morphic question. I need to toggle the close buttons on a bunch of workspaces that are uncloseable....

gettimothy gettimothy at zoho.com
Sun Nov 28 18:28:05 UTC 2021

Hi Folks.

Somthing along the lines of this:
World submorphs do: [ :e |  

    [ (e model isKindOf: Inspector) ifTrue: [ e delete ] ]

        on: Error

        do: [ ] ]

I have ~30 workspaces and 6 browsers minimized and the "close" button is not visible because I made them all uncloseable.

I would like to  programmatically close them using something like the above.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211128/741df4b8/attachment.html>

More information about the Squeak-dev mailing list