Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Touch screen development in Python

880 views
Skip to first unread message

Jahn

unread,
Jul 11, 2016, 1:31:56 PM7/11/16
to
Hi ,
Does anyone use Python for developping applications that work with a touch screen?


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Wildman

unread,
Jul 11, 2016, 2:13:59 PM7/11/16
to
On Mon, 11 Jul 2016 19:21:56 +0200, Jahn wrote:

> Hi ,
> Does anyone use Python for developping applications that work with a touch screen?
>

http://www.technolabsz.com/2011/08/how-to-make-touch-screen-user-interface.html

--
<Wildman> GNU/Linux user #557453
The cow died so I don't need your bull!

Dietmar Schwertberger

unread,
Jul 11, 2016, 4:10:02 PM7/11/16
to
On 11.07.2016 19:21, Jahn wrote:
> Does anyone use Python for developping applications that work with a touch screen?

Yes.


You should probably specify the platform and the type of applications
that you're interested in.

Mobiles (Android, iOS, Sailfish OS)? Windows 10 Tablets? Ubuntu Touch?
Embedded systems?


Regards,

Dietmar

Laurent Pointal

unread,
Jul 11, 2016, 5:31:04 PM7/11/16
to
Jahn wrote:

> Hi ,
> Does anyone use Python for developping applications that work with a
> touch screen?

You should take a look at Kivy: https://kivy.org/

A+
L.Pointal.

Paul Rubin

unread,
Jul 12, 2016, 12:29:24 AM7/12/16
to
"Jahn" <jana...@centrum.cz> writes:
> Does anyone use Python for developping applications that work with a
> touch screen?

I've done it on a system where the touch screen events were treated the
same way as mouse events. Coding works out about the same way.

Jahn

unread,
Jul 12, 2016, 3:11:08 PM7/12/16
to
I was thinking about Python touch screen applications for industrial boards( computers).
If I have a touch screen with that industrial board, what I must have installed to be able to
write touch screen applications in Python?


> On 11.07.2016 19:21, Jahn wrote:
> > Does anyone use Python for developping applications that work with a touch screen?
>
> Yes.
>
>
> You should probably specify the platform and the type of applications
> that you're interested in.
>
> Mobiles (Android, iOS, Sailfish OS)? Windows 10 Tablets? Ubuntu Touch?
> Embedded systems?
>
>
> Regards,
>
> Dietmar
>
> --
> https://mail.python.org/mailman/listinfo/python-list

Dietmar Schwertberger

unread,
Jul 12, 2016, 5:11:13 PM7/12/16
to
On 12.07.2016 21:10, Jahn wrote:
> I was thinking about Python touch screen applications for industrial boards( computers).
> If I have a touch screen with that industrial board, what I must have installed to be able to
> write touch screen applications in Python?
This could be any platform: QNX, Android, Windows, Embedded Windows,
Windows CE, Windows Mobile, Linux with X, Linux with Wayland, Linux
command line and a display connected via SPI or whatever...
If you don't write which platform you actually have, you will probably
not get answers that will help you.

Regards,

Dietmar

Laurent Pointal

unread,
Jul 13, 2016, 2:09:15 PM7/13/16
to
Jahn wrote:

> I was thinking about Python touch screen applications for industrial
> boards( computers).
> If I have a touch screen with that industrial board, what I must have
> installed to be able to
> write touch screen applications in Python?

If you go with Kivy (its built for multitouch graphical interactive
applications, can work on Windows, Linux, MacOSX, Android), see the
following page for requirements:

https://kivy.org/docs/installation/installation.html

And learning how to use it (see examples).

https://kivy.org/docs/examples/gallery.html

Really, give it a try, even on your mouse controlled interface.

A+
Laurent.

Jahn

unread,
Jul 13, 2016, 3:34:06 PM7/13/16
to
I would like to learn more how to write python based touch application
for embedded system but I do not know what conditions a touch screen must have so that it
will response to touch.
Does anyone know?

Michael Torrie

unread,
Jul 13, 2016, 5:50:21 PM7/13/16
to
On 07/13/2016 01:33 PM, Jahn wrote:
> I would like to learn more how to write python based touch application
> for embedded system but I do not know what conditions a touch screen must have so that it
> will response to touch.
> Does anyone know?

These days GUI toolkits such as GTK+ or Qt provide convenient methods
for interacting with touch displays including touch, dragging, gestures
(pinch to zoom), multi-touch, etc.

In its simplest form GUIs on touch screens are identical to GUIs with a
mouse. Normal button widgets work great with fingers for example. Even
slider adjusters work pretty much the same with a finger and with the
mouse.

More complicated things like pinch to zoom and multi-touch require a bit
more help from the toolkit.

As Deitmar said, you will have to get a lot more specific in your questions.
0 new messages