Es tracta de programar el servidor X directament, independentment de l'escriptori que utilitzi. És el que es fa servir en l'exemple xopen.c per a programar la Wacom. A més, m'he trobat el problema que amv xopen.c (i amb wacom_theremin.c), quan tinc obert el GIMP, quan passo el pen de la wacom per la finestra del GIMP no es detecten els events.
Tutorials de Xlib.
He enviat un mail a la llista de email@example.com (tot i que he confós xlig amb glib Hey friends, I want to solve a problem that I'm dealing with....)
wacom programming and GIMP problem I have a wacom tablet, and I can detect programatically the pen movement. Basically I'm using this code (xopen.c, http://www.bolthole.com/solaris/drivers/xopen.c), and it works as expected when I move my pen around the tablet, and the cursor moves around the screen, where there are several windows. Now I open GIMP, and the Wacom works perfect with GIMP. The problem is that when the pen is focused on the drawing window of GIMP I have no events in my CLI xopen application. I think this is a Glib programming question, maybe I can tell xopen.c to listen the events associated with GIMP Windows (I don't kno how...). The idea that I'm folloging is to draw with GIMP and trigger synth sounds wile I'm drawing... this is the reason why I need an integration between GIMP and my code. thanks in advance
- firstname.lastname@example.org: gtk-list covers general GTK+ (and GLib) topics; questions about using GLib in programs, GLib from a user standpoint, announcements of GLib-related projects would all be on-topic. The bulk of the traffic consists of GTK+ programming questions.
creat per Joan Quintana Compte, febrer 2012