In Ferret, the command WHERE (an alias of PPL %WHERE) waits for a mouse click in the window, and displays the mouse coordinates. It doesn't work in PyFerret. Tested in PyFerret v7.5 in MacOSX 10.14.6 and on PyFerret v7.4 on Linux The command respond immediately without waiting the mouse click, sending XMOUSE = -0.3500000, YMOUSE = -1.333333, WMOUSE = 1 Should it work ? Is there an another way to get the mouse position ? Or is it a feature due to the new graphic kernel of PyFerret :-(( Olivier -- Dr. Olivier Marti - mailto:olivier.marti@xxxxxxxxxxxx Institut Pierre Simon Laplace Laboratoire des Sciences du Climat et de l'Environnement Mermaid Team Laboratoire CEA-CNRS-UVSQ - UMR 8212 Tel : +33 1 69 08 77 27 - Mob : +33 6 45 36 43 74 Fax : +33 1 69 08 30 73 <http://www.lsce.ipsl.fr/Pisp/olivier.marti> |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature