Hello everybody, Is there a way to move the position of the cursor (the HandMorph) by passing commands to it ? |
2015-05-12 17:40 GMT+02:00 Matthieu Lacaton <[hidden email]>:
Not that I know of. There was a primitive for setting the cursorposition, but that was removed: http://bugs.squeak.org/view.php?id=7756 https://pharo.fogbugz.com/default.asp?10026 http://forum.world.st/Changing-mouse-position-from-Pharo-td4676580.html
|
In reply to this post by Matthieu
A bit extreme, but you could open World >> Tools >> Process Browser and notice "Input Event Fetcher" then put a "self haltOnce" in InputEventFetcher>>signalEvent: and trace through. Or maybe have a look at HandMorphForReplay in (disclaimer, I haven't got around to having a look at this myself yet) cheers -ben On Tue, May 12, 2015 at 11:40 PM, Matthieu Lacaton <[hidden email]> wrote:
|
In reply to this post by Nicolai Hess
Okay. That was 2 years ago so I was wondering if something had changed since then but apparently not.2015-05-12 17:51 GMT+02:00 Nicolai Hess <[hidden email]>:
|
Oh I didn't know about that, I'll definitely have a look at it, it seems cool ! Thanks, Matthieu 2015-05-12 17:57 GMT+02:00 Matthieu Lacaton <[hidden email]>:
|
Hello again, Just for the record, the EventRecorder source code allowed me to solve my problem.2015-05-12 17:59 GMT+02:00 Matthieu Lacaton <[hidden email]>:
|
Free forum by Nabble | Edit this page |