Re: How to use the mouse wheel?
- From: Owen Taylor <otaylor redhat com>
- To: Daniel Pekelharing <legendstar gmail com>
- Cc: gtk-app-devel-list Mailing-Lists <gtk-app-devel-list gnome org>
- Subject: Re: How to use the mouse wheel?
- Date: Tue, 17 May 2005 14:13:28 -0400
On Tue, 2005-05-17 at 19:42 +0200, Daniel Pekelharing wrote:
Hi,
I'm trying to use the mouse wheel, I already have a mouse callback,
I think I just need to know what the GDK_*_MASK definition is for the
wheel, I have my widget set up for button press/release:
gtk_widget_add_events(widget, GDK_BUTTON_PRESS_MASK |
GDK_BUTTON_RELEASE_MASK);
That will work ... you'll get a GDK_SCROLL event.
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]