Re: GdkEventButton, GdkEventMotion



Ignacio Nodal <inodal teleline es> writes:

> if the program reachs this callback,that's because a motion_event has
> happened,then.. why asking again for the GDK_BUTTON1_MASK?? 
> I mean.. isn't it redundant?

The motion event could have been generated using another mouse button ?!
In most cases you want to react differently depending on the button used.


Salut, Sven




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