Discussion:
[Tkinter-discuss] touch screens
wet_colored)arch
2010-06-22 20:44:00 UTC
Permalink
Can anyone point me to information on how to use or extend tkinter for use
with touch screens? I have an application written in Tkinter that works
fine, and I am newbie enough to GUIs that I don't know Qt or other. Is
there an extension or something native in Tkinter I can use? What do you
recommend I do if there is nothing in Tkinter.
--
View this message in context: http://old.nabble.com/touch-screens-tp28964837p28964837.html
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.
Bob Greschke
2010-06-22 21:55:09 UTC
Permalink
We played with a touch screen display for a little while (entuative touchscreen elo monitor - no one can spell anything that makes sense anymore) and the driver for it (Windows anyway) handled all of the dirty work. If there was a simple tkinter button on the display, and you "touched" it tkinter just reacted as if you'd used the mouse to click on it. You didn't have to worry about the X,Y of where the user touched or anything like that. We didn't end up using it for anything. It was more trouble than it was worth for the operators. They needed to not just click on buttons, but type in stuff and drag over a Listbox of stuff, etc. on a routine basis. It would have been fine for something like a kiosk for mostly clicking on buttons.

Bob
Post by wet_colored)arch
Can anyone point me to information on how to use or extend tkinter for use
with touch screens? I have an application written in Tkinter that works
fine, and I am newbie enough to GUIs that I don't know Qt or other. Is
there an extension or something native in Tkinter I can use? What do you
recommend I do if there is nothing in Tkinter.
--
View this message in context: http://old.nabble.com/touch-screens-tp28964837p28964837.html
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss at python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss
Michael O'Donnell
2010-06-23 07:19:28 UTC
Permalink
Hi,

I was looking at porting my python-tk application to the iPad.
Applications need to be in Objective C. While Objective C can handle
python via pyObjC, this cannot handle tkinter, and basically one
would need to rewrite your GUI components in the machine's graphic language.

Mick

On Tue, Jun 22, 2010 at 10:44 PM, wet_colored)arch
Post by wet_colored)arch
Can anyone point me to information on how to use or extend tkinter for use
with touch screens? ?I have an application written in Tkinter that works
fine, and I am newbie enough to GUIs that I don't know Qt or other. ?Is
there an extension or something native in Tkinter I can use? ?What do you
recommend I do if there is nothing in Tkinter.
--
View this message in context: http://old.nabble.com/touch-screens-tp28964837p28964837.html
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss at python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss
Kevin Walzer
2010-06-23 14:03:32 UTC
Permalink
Post by Michael O'Donnell
Hi,
I was looking at porting my python-tk application to the iPad.
Applications need to be in Objective C. While Objective C can handle
python via pyObjC, this cannot handle tkinter, and basically one
would need to rewrite your GUI components in the machine's graphic language.
Mick
PyObjC isn't supported on the iPad or iPhone: C-level languages only.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
Michael O'Donnell
2010-06-23 14:51:10 UTC
Permalink
Hi Kevin,

I have not tried porting python to iphones myself,
but there are a number of websites saying they have done
it (assuming a jailbroken iphone), e.g.,

http://www.saurik.com/id/5
http://gizmodo.com/282139/iphone-can-now-serve-web-pages-run-python-open-source-apps

http://bytes.com/topic/python/answers/851129-python-iphone-actually-rather-good

...and if doable on an iphone, I assume iPad as well.

Mick
Post by Kevin Walzer
Hi,
? ?I was looking at porting my python-tk application to the iPad.
Applications need to be in Objective C. While Objective C can handle
python via pyObjC, this cannot handle tkinter, and basically one
would need to rewrite your GUI components in the machine's graphic language.
Mick
PyObjC isn't supported on the iPad or iPhone: C-level languages only.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss at python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss
Kevin Walzer
2010-06-23 15:12:49 UTC
Permalink
Post by Michael O'Donnell
Hi Kevin,
I have not tried porting python to iphones myself,
but there are a number of websites saying they have done
it (assuming a jailbroken iphone), e.g.,
http://www.saurik.com/id/5
http://gizmodo.com/282139/iphone-can-now-serve-web-pages-run-python-open-source-apps
http://youtu.be/iFrzSDdTXkk
http://bytes.com/topic/python/answers/851129-python-iphone-actually-rather-good
...and if doable on an iphone, I assume iPad as well.
Mick
Fair enough, but I wasn't considering jailbroken hardware. :-)
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
Continue reading on narkive:
Loading...