On Tue, 2004-08-24 at 22:03, Danni Coy wrote:
I noticed that The UI is being upgraded from gtk+ to gtkmm I would like to try and get Pen Tablet support (it is probably a good time). My early experiments in doing this are not doing too well (considering that the GTK documentation is totally out of date).
The dynadraw tool looks like the easiest to convert to use extended input But I don't seem to be able to get it to respond to this extra information.
From what I have managed to glean so far "gdk_input_set_extension_events" has
to be called on each "gdk_window" you want to get receive extended event information. So far I have tried doing this with sp_canvas but it seams not to have worked.
Which gdk_window(s) does the dynadraw context draw onto?
SPCanvasWidget should be the right sort of widget to do this with.
Have you tried writing a small standalone program as a test case to make sure that you're doing everything else you need to? (you might e.g. have to set event masks and things)
i.e. try it with your own trivial custom widget first ... I'm afraid event flow with our canvas is currently rather convoluted
-mental