Re: Touch Screen



On Tue, 2004-11-09 at 10:48, Tristan Van Berkom wrote:
On Tue, 9 Nov 2004 20:42:24 +0000 (UTC), Alf C Stockton
<alf stockton co za> wrote:
[...]
I am using Linux Slackware and X and Gtk+ and for that matter Anjuta as an IDE.
Do you by any chance have a small GTK+ C example that I could look at?

There is nothing custom about the Gtk+ code, its all about your X setup,
the touchscreen has to come across as core pointer.


Exactly.  The touchscreen looks just like a mouse, so any program should
work with it, including the Gtk+ hello program from the tutorial:
http://www.gtk.org/tutorial/ch-gettingstarted.html#SEC-HELLOWORLD

The only "special" thing you will have to do is to come up with a "big
buttons" theme to make it usable, and even doing that doesn't require
custom Gtk+ code.

-Mark Ivey-




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]