quik77
1
Hi,
I can react on scrolling events. However, I would like to know whether
the scrolling is UP or DOWN, and I found myself unable to do so.
I was trying to use:
when Gdk::Event::UP
But it is unknown.
How to find out if a scroll event is up or down?
I am trying to synchronize widgets based on whether a user wants to
scroll up or down.
Thanks.
quik77
2
Le vendredi 04 septembre 2009 à 14:26 +0200, Marc H. a écrit :
Hi,
I can react on scrolling events. However, I would like to know whether
the scrolling is UP or DOWN, and I found myself unable to do so.
I was trying to use:
when Gdk::Event::UP
But it is unknown.
How to find out if a scroll event is up or down?
Is scroll event generated from mouse ?
I would expect button pressed with correct mask (for buttons 4 and 5)
quik77
3
Hi,
Marc H. schrieb:
Hi,
I can react on scrolling events. However, I would like to know whether
the scrolling is UP or DOWN, and I found myself unable to do so.
I was trying to use:
when Gdk::Event::UP
But it is unknown.
it’s called Gdk::EventScroll::UP
Cheers, detlef
–
http://det.cable.nu