gtk: moving a widget with the mouse?
I'm making a widget layout editor as part of a project I'm working on.
I managed to use a GtkEventBox per widget (on a gtkFixed container) to intercept mouse drag events.
The mouse coordinates looked fine and dandy, until I started moving the widget then I started getting a bunch of spurious wildly off mouse event coordinates as the widget moved of the gtkFixed container
(I tried a number of things to attempt to filter these events with no joy)
I tried putting a single gtkEventBox over the widgets to be moved, but this seemed to visually obscure the widgets??
I tried a bunch of different things, and I'm at the point of starting again, has anyone else moved gtkWidgets about with the mouse?
I'll probably look at the glade source, but is quite a large code base and its gonna be hard to track down what I need.
Any ideas?
Thanks
C