Re: GTK3 -- query mouse pointer coordinates for keyboard input?

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

 






On Fri, Jan 17, 2014 at 5:29 PM, Stefan Salewski <mail@xxxxxxxxxxxx> wrote:
On Fri, 2014-01-17 at 17:18 -0500, Paul Davis wrote:
> you can track where the mouse is with enter/leave events, and there
> are
> often good reasons for wanting to do that anyway.

That should not work well for CAD applications.

We have a large drawing area, where we draw objects using cairo drawing
functions. That are not GTK widgets!

Ardour does the same thing. Except that our objects (all drawn using a custom cairo canvas) do have enter/leave handling. Pressing delete while the mouse pointer is inside an object deletes that object.
 
http://ardour.org/

(*) the current release version uses gnomecanvas, but the next major release will use our new cairo canvas; the principle remains the same either way.

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux