GdkEventMotion

Generated when the pointer moves.

Members

Variables

axes
double* axes;

x, y translated to the axes of device, or NULL if device is the mouse.

device
GdkDevice* device;

the master device that the event originated from. Use Event.getSourceDevice to get the slave device.

isHint
short isHint;

set to 1 if this event is just a hint, see the GDK_POINTER_MOTION_HINT_MASK value of GdkEventMask

sendEvent
byte sendEvent;

TRUE if the event was sent explicitly.

state
ModifierType state;

a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See GdkModifierType

time
uint time;

the time of the event in milliseconds.

type
GdkEventType type;

the type of the event.

window
GdkWindow* window;

the window which received the event.

x
double x;

the x coordinate of the pointer relative to the window.

xRoot
double xRoot;

the x coordinate of the pointer relative to the root of the screen.

y
double y;

the y coordinate of the pointer relative to the window.

yRoot
double yRoot;

the y coordinate of the pointer relative to the root of the screen.