[squeak-dev] Re: continuous display of cursor position

Marcel Taeumel marcel.taeumel at student.hpi.uni-potsdam.de
Fri Jan 4 12:45:56 UTC 2013


You could take a look at the FrameRateMorph or
TheWorldMainDockingBar>>#startMessageTally.

Alternatively, run this in a workspace:

[Sensor peekMousePt y > 0] whileTrue: [World doOneCycle. Sensor peekMousePt
asString displayAt: 0 at 0].

Move your mouse to the top edge to end this. There is no need to create
custom Morphs to achieve your goal neither to run a separate process. Just
be sure that the main UI loop keeps running. :)

Best,
Marcel



--
View this message in context: http://forum.world.st/continuous-display-of-cursor-position-tp4661986p4662035.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.


More information about the Squeak-dev mailing list