Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 662
Laura Avatar asked Sep 10 '25 02:09

Laura


1 Answers

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

like image 100
Sean DeNigris Avatar answered Sep 13 '25 01:09

Sean DeNigris