Re: GdkModifierType



>I've got a question about the field state in the  GdkEventMotion structure.
>The GDK Reference Manual says:

   [ ... ]

>... if  I only ask for state "if (state) { ... } " the if-condition is also
>passed.
>Isn't it supposed to be a bit-mask representing the state of the modifier
>keys (e.g. Control, Shift and Alt) and the pointer buttons. I'm just moving
>the mouse!!!

imagine you were moving the mouse with a button pressed down.

--p




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