Struct
GdkEventMotion
Description [src]
struct GdkEventMotion {
GdkEventType type;
GdkWindow* window;
gint8 send_event;
guint32 time;
gdouble x;
gdouble y;
gdouble* axes;
GdkModifierType* state;
gint16 is_hint;
GdkDevice* device;
gdouble x_root;
gdouble y_root;
}
Generated when the pointer moves.
Structure members
type |
The type of the event. |
window |
The window which received the event. |
send_event |
|
time |
The time of the event in milliseconds. |
x |
The x coordinate of the pointer relative to the window. |
y |
The y coordinate of the pointer relative to the window. |
axes |
|
state |
A bit-mask representing the state of
the modifier keys (e.g. Control, Shift and Alt) and the pointer
buttons. See |
is_hint |
Set to 1 if this event is just a hint, see the
|
device |
The master device that the event originated from. Use
|
x_root |
The x coordinate of the pointer relative to the root of the screen. |
y_root |
The y coordinate of the pointer relative to the root of the screen. |