GdkEventScroll

Generated from button presses for the buttons 4 to 7. Wheel mice are usually configured to generate button press events for buttons 4 and 5 when the wheel is turned. GdkEventType type; the type of the event (GDK_SCROLL). GdkWindow *window; the window which received the event. gint8 send_event; TRUE if the event was sent explicitly (e.g. using XSendEvent). guint32 time; the time of the event in milliseconds. gdouble x; the x coordinate of the pointer relative to the window. gdouble y; the y coordinate of the pointer relative to the window. guint state; a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See GdkModifierType. GdkScrollDirection direction; the direction to scroll to (one of GDK_SCROLL_UP, GDK_SCROLL_DOWN, GDK_SCROLL_LEFT and GDK_SCROLL_RIGHT). GdkDevice *device; the device where the event originated. gdouble x_root; the x coordinate of the pointer relative to the root of the screen. gdouble y_root; the y coordinate of the pointer relative to the root of the screen.

Members

Variables

device
GdkDevice* device;
Undocumented in source.
direction
GdkScrollDirection direction;
Undocumented in source.
sendEvent
byte sendEvent;
Undocumented in source.
state
uint state;
Undocumented in source.
time
uint time;
Undocumented in source.
type
GdkEventType type;
Undocumented in source.
window
GdkWindow* window;
Undocumented in source.
x
double x;
Undocumented in source.
xRoot
double xRoot;
Undocumented in source.
y
double y;
yRoot
double yRoot;
Undocumented in source.

Meta