Mouse position: Difference between revisions
Content added Content deleted
(→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details) |
|||
Line 734: | 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> |
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. |
Note that canvasmotion coordinates are relative to the top left of the canvas, whereas the other two are absolute. |
||
{{libheader|pGUI}} |
|||
<lang Phix>-- |
<lang Phix>-- |
||
-- demo\rosetta\Mouse_position.exw |
-- demo\rosetta\Mouse_position.exw |