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

On Fri, Jan 17, 2014 at 5:05 PM, Stefan Salewski <mail ssalewski de> wrote:

You may say that mouse and keyboard input is generally fully unrelated.
In theory  that may be true, but for CAD applications we really want
keyboard input related to current mouse pointer position, i.e. delete
object under mouse cursor when 'X' or 'DEL' key is pressed.

you can track where the mouse is with enter/leave events, and there are often good reasons for wanting to do that anyway.

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