2
$\begingroup$

Gesture handlers would be really cool to have. There is a symbol called GestureHandler. It's eight years old (from v9) but intriguing to me, as I could never ever get it to work.

Does anyone know how to use it?

enter image description here

The docs state that GestureHandler works for standard gestures: "Pinch", "Drag", "Spin", "Tap", "LongPress". But needless to say, the above never prints "Pinched!". The details section states:

that GestureHandler is only active on touchscreen devices and otherwise acts as an inert wrapper"...

But rather vaguely doesn't mention which touchscreen devices are supported, and in what wolfram (desktop, mobile, cloud...)?

What I've tried:

I've got nothing from any of the following approaches when running the ref page examples in v12.0 on:

  • Recent macs: iMac, Mac Pro, Macbooks Air/Pro
  • Recent touchscreen Windows and Linux machines
  • Recent iPad, iPhones, and Android devices with the Wolfram Cloud and CDF Player apps
  • Deploying Wolfram Cloud notebooks/pages and accessing them from the above-mentioned devices
$\endgroup$
  • $\begingroup$ GestureHandler is currently only supported on iOS devices. Specifically, the Wolfram Player app. $\endgroup$ – ihojnicki Feb 17 at 14:47
  • $\begingroup$ But laptop touchpads support those gestures as well, why not support MacBooks? $\endgroup$ – M.R. Feb 21 at 18:25
  • $\begingroup$ Put simply, user demand. You should definitely submit your interest as feedback. $\endgroup$ – ihojnicki Feb 22 at 3:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.