|
How to lay a morph down automatically: msg#00179lang.smalltalk.squeak.beginners
Newly opened morphs seem to arrive in "picked-up" mode, attached to the "hand" (cursor). You left-click to drop them. I went looking for the code that executes when you left click on a picked-up morph but couldn't find it. If I wanted to create a morph programmatically and have it start life already laid down somewhere, how would I do that? I'm presuming that the same check would get done as to whether it were to embed itself in whatever it was laid down on, or just sit there. Of course this might wind up embedding it in whatever the mouse cursor happened to be sitting on at the moment, which would be bad news, since in this case the mouse and the morph wouldn't be near each other. Thanks! Mike O'Brien
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: troubleshooting question, Thomas Keller |
|---|---|
| Next by Date: | Re: How to lay a morph down automatically, David Shaffer |
| Previous by Thread: | Can't work out the linux install, tom |
| Next by Thread: | Re: How to lay a morph down automatically, David Shaffer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |