Mouse position: Difference between revisions
m
→{{header|Phix}}
(→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details) |
|||
Line 734:
The timer label is updated every three seconds and gets mouse positions anywhere on the whole screen, whether it moves or not.<br>
Note that canvasmotion coordinates are relative to the top left of the canvas, whereas the other two are absolute.
{{libheader|pGUI}}
<lang Phix>--
-- demo\rosetta\Mouse_position.exw
|