[Tutor] How to use tkinter with a touch screen device?

Mark Lawrence breamoreboy at yahoo.co.uk
Sat Jul 18 00:32:50 CEST 2015


On 17/07/2015 23:04, boB Stepp wrote:
> Apparently I will be finding myself having to write some programs to
> run on a Samsung Slate tablet, manufactured circa 2011.  It has
> Windows 7 home edition 64-bit as its OS.  Hopefully Python 3 will be
> easily installed, and I will be able to run Python 3 programs on it.
> Operating under this assumption, what adjustments will I need to make
> in order to use tkinter for GUIs on this device?  So far my searches
> have not found targeted information (yet).  One thing I did find is
> that complex gestures are not supported by tkinter.  But will tkinter
> see:
>
> 1) Short presses as a left mouse click?
> 2) Long presses as a right mouse click?
> 3) Virtual keyboard events the same as physical keyboard events?
> 4) Etc. ?
>
> Any useful info along these lines will be greatly appreciated!
> Otherwise, I will do the usual once I get this tablet updated and
> Python installed:  Barge ahead, write some code, and see what happens!
>

A possible starter 
http://sumerulabs.in/blog/2015/02/21/touch-screen-for-the-new-raspberry-pi-2-available-in-india-sumerulabs/ 
???

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence



More information about the Tutor mailing list