Sujet : Can Tk 9.0 handle touch events of a touch display?
De : robert.csok (at) *nospam* gmx.de (Robert Csok)
Groupes : comp.lang.tclDate : 21. Dec 2024, 13:57:54
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vk6e0i$1eqd$1@dont-email.me>
User-Agent : Mozilla Thunderbird
Hello everyone,
While reading through the “Highlights of Tk 9.0” I noticed the point “Platform Features and Conventions: many improvements, including two-finger gesture support where available”. I was initially pleased because I thought that Tcl 9 could react to touch events of a touch display. This function would make it easier to operate our cadastre application on devices with a touch-capable display (“Pinch To Zoom” etc.).
However, I had to realize that this message probably refers more to the possibility of scrolling with two fingers on a touchpad (new event type “TouchpadScroll”). I also came across TIP 570, which describes the desired feature:
https://core.tcl-lang.org/tips/doc/trunk/tip/570.mdThe proposal has been in a draft state since 2020.
Can anyone give a hint on a possibility, trick or workaround to react to touch events of a touch display in a Tk application under Linux?
Best regards
Robert