Data Fields | |
int | type |
Event type (E_BUTTON_PRESS, E_BUTTON_RELEASE, E_MOTION, E_MOUSE_WHEEL). | |
Window | window |
Window which the event is directed to. | |
int | x |
pointer x, y coordinates in event window | |
int | y |
pointer x, y coordinates in event window | |
int | x_root |
coordinates relative to root | |
int | y_root |
coordinates relative to root | |
unsigned int | state |
buttons and key modifiers mask | |
unsigned int | button |
button pressed/released (Button1, Button2 or Button3), 0 if no button involved | |
int | scroll_delta |
scrolling lines (mouse wheel command) |
This structure is used to notify the application about four type of events related to mouse (E_BUTTON_PRESS, E_BUTTON_RELEASE, E_MOTION, E_MOUSE_WHEEL). You can get these events as callback parameter
|
button pressed/released (Button1, Button2 or Button3), 0 if no button involved
|
|
scrolling lines (mouse wheel command)
|
|
buttons and key modifiers mask
|
|
Event type (E_BUTTON_PRESS, E_BUTTON_RELEASE, E_MOTION, E_MOUSE_WHEEL).
|
|
Window which the event is directed to.
|
|
pointer x, y coordinates in event window
|
|
coordinates relative to root
|
|
pointer x, y coordinates in event window
|
|
coordinates relative to root
|