GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Wed Nov 25, 2015 4:16 pm

All times are UTC

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: using the example code scribble-xinput.c
PostPosted: Fri Jul 27, 2007 3:52 am 

Joined: Fri Jul 27, 2007 2:49 am
Posts: 1
I compiled the source code and excute it.
When I click on the "Input Dialog" button, a window pops out,
In the window,
There are several devices to choose from:

and several Mode:

If I choose stylus, then choose screen, there is segmentation
Button press on device 'stylus-cintiq21ux'
I get "segmentation fault (core dumped)"

If I choose other combinations, then nothing happened,
I tried to print out the device source, and it is null.

I do have a tablet that works for a set of applications like inkscape,
Does anyone have similar experience or know how to solve it?


 Post subject:
PostPosted: Sun Sep 23, 2007 9:08 pm 
GTK+ Guru

Joined: Thu Jun 21, 2007 1:52 pm
Posts: 198
Location: Wilkes Barre Pa
Are you using a Wacom Cintiq21UX Tablet?
If your not then that code will not work you will need to look here &

As far as segmentation fault you need some code to handle errors so instead
of your code crashing it will print a message like "Wacom Cintiq21UX Tablet Not Found"


These are not devices. A device would be "cintiq21ux"
These are functions to interact with the "pad, stylus, eraser, cursor" parts of the "cintiq21ux"
wacom device.

Lastly you posted this in the wrong forum this forum is for working example code you should post stuff like with in GTK+ Programming

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group