smalltalkpharomorphic

How to wrap a morph into a window in Pharo v3


I have built a game GUI made of morphs, all of them embeded into a rectangle morph. I want to wrap this rectangle morph into a window. How can i do this? I looked inside Spec but found nothing useful.


Solution

  • There a few ways, depending on your use case, but the easiest way is to send #openInWindow to your morph.