Discussion:
[Tutor] How to use tkinter with a touch screen device?
boB Stepp
2015-07-17 22:04:51 UTC
Permalink
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!
--
boB
_______________________________________________
Tutor maillist - ***@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Mark Lawrence
2015-07-17 22:32:50 UTC
Permalink
Post by boB Stepp
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
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

_______________________________________________
Tutor maillist - ***@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
boB Stepp
2015-07-17 23:01:59 UTC
Permalink
Post by Mark Lawrence
A possible starter
http://sumerulabs.in/blog/2015/02/21/touch-screen-for-the-new-raspberry-pi-2-available-in-india-sumerulabs/
???
I had briefly glanced at that, but other than a short snippet of code,
it seemed to be more an advertisement for a new touch screen monitor
for Raspberry Pi. In fact most of the search results I got earlier
involve the Raspberry Pi. Nothing leaped out at me. I may have to
sift through those results more carefully if nothing else turns up.

But thanks!
--
boB
_______________________________________________
Tutor maillist - ***@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Alan Gauld
2015-07-17 23:43:30 UTC
Permalink
Post by boB Stepp
that complex gestures are not supported by tkinter. But will tkinter
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. ?
I'd go to the Tk and Tkinter mailing lists for that one Bob.
Well beyond tutor expectations. (which means I have no idea! :-)

But seriously it will depend what your version of Tkinter supports
and that's really one for the Tcl/Tk community first and tkinter
second.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


_______________________________________________
Tutor maillist - ***@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Laura Creighton
2015-07-18 03:13:25 UTC
Permalink
The place to ask this question is https://mail.python.org/mailman/listinfo/tkinter-discuss but I think you are out of luck. On the other hand, kivy
ought to work for you. http://kivy.org/#home I've yet to try it on
a windows tablet, though.

Laura
_______________________________________________
Tutor maillist - ***@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Loading...