Hello,

Does anyone know if it's possible to catch events from the keyboard arrows?
Apparently xclick() does not detect them:

clf
plot2d
while %t
   disp(xclick(%t));
end
// press keyboard arrows => nothing is displayed

By the way, according to the xclick documentation, here-above one could expect 
only one output, ibutton,

--> uman xclick ul

Scilab > Graphics > interaction > xclick
........................................
SYNTAXES
[ibutton,xcoord,yxcoord,iwin,cbmenu] = xclick([flag])

while a triplet is returned, [ibutton, xcoord, ycoord]:

--> while %t
 >     disp(xclick(%t));
 > end

  3.   3.3063975   1.4608696
  4.   4.0068182   1.542029
  5.   4.0342856   1.426087

https://help.scilab.org/docs/2023.0.0/en_US/xclick.html

xclick() already behaved like this with Scilab 4.1.2 and 5.5.2.

Thanks for any info about keyboard arrows

Regards
Samuel

This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
https://www.3ds.com/privacy-policy/contact/

_______________________________________________
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
https://lists.scilab.org/mailman/listinfo/users

Reply via email to