public int type;
public Window window;
Window
on which this event occured.
id (self) init int t window Window w;
UserEvent
is an event originating from the user, with modifiers
and all that information.
public int modifiers;
id init int t window Window w modifiers int mods;
int keyModifiers;
public float x;
public float y;
public int buttons;
id init int t window Window w modifiers int mod buttons int b location (float, float) (loc_x, loc_y);
(float, float) location;
void set_location (float, float) (loc_x, loc_y);
Window
to convert the
coordinates from the underlying system to TAG coordinates.