Finding out which button/key was pressed in callback?



Hi All.

What I'm trying to do is to find out what Keys or Mouse Button were
pressed, which caused the callback to start.

I assigned a signal handler to the "clicked" signal and have two different
accelerator keys bound to it as well.

So in the callback I want to distinguish between these two.
The Widget in question is the Button-Widget.

Ciao Christoph   (grover@hottemax.uni-muenster.de)
+--------------
  finger grover@hottemax.uni-muenster.de for PGP public key
  http://hottemax.uni-muenster.de/~grover/index.html
  Experience is what causes a person to make new mistakes instead of old ones.



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