Many thanks Tadej! event->button works fine. Here is trace info for left, right and simulated mid buttons: mousebuttonDOWN (x,y)=(10,14)state 0 btn=1 mousebuttonUP (x,y)=(10,14)state 100 button=1 mousebuttonDOWN (x,y)=(9,14)state 0 btn=3 mousebuttonUP (x,y)=(9,14)state 400 button=3 mousebuttonDOWN (x,y)=(9,14)state 0 btn=2 mousebuttonUP (x,y)=(9,14)state 200 button=3 mousebuttonUP (x,y)=(9,14)state 200 button=2 It shows state is not set on any ButtonDown event, ButtonUP works for left and right button but not for simulated mid button (should only be one UP event for button 2). Should this behaviour be considered a bug? --- On Thu, 14/1/10, Tadej Borovšak <tadeboro@xxxxxxxxx> wrote:
|
Get your new Email address!
Grab the Email name you've always wanted before someone else does!
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list