diff options
author | Richard M. Stallman <rms@gnu.org> | 1998-05-01 04:52:40 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1998-05-01 04:52:40 +0000 |
commit | 523812cdf373eb68bd1dc3cdfabca8de965ce569 (patch) | |
tree | 517adab60d9f0cff37e01d1db681cf89fc8eef85 /src/termhooks.h | |
parent | a24dc617a836a57458a72073ea6097154fd7d348 (diff) | |
download | emacs-523812cdf373eb68bd1dc3cdfabca8de965ce569.tar.gz |
(event_kind): New event type `drag_n_drop'.
Diffstat (limited to 'src/termhooks.h')
-rw-r--r-- | src/termhooks.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/termhooks.h b/src/termhooks.h index ff4e9ef74c7..f5928d7c54d 100644 --- a/src/termhooks.h +++ b/src/termhooks.h @@ -233,7 +233,8 @@ enum event_kind .timestamp gives a timestamp (in milliseconds) for the click. */ #ifdef WINDOWSNT - mouse_wheel, /* A mouse-wheel event is generated by a + mouse_wheel, /* A mouse-wheel event is generated + on WINDOWSNT by a wheel on a mouse (e.g., MS Intellimouse). The event contains a delta that corresponds to the amount and direction that the wheel @@ -277,8 +278,21 @@ enum event_kind (Only the toolkit version uses these.) */ iconify_event, /* An X client iconified this window. */ deiconify_event, /* An X client deiconified this window. */ - menu_bar_activate_event /* A button press in the menu bar + menu_bar_activate_event, /* A button press in the menu bar (toolkit version only). */ + drag_n_drop /* A drag-n-drop event is generated when + files selected outside of Emacs are dropped + onto an Emacs window. + Currently used only on Windows NT. + .modifiers holds the state of the + modifier keys. + .x and .y give the mouse position, + in characters, within the window. + .frame_or_window is a cons of the frame + in which the drop was made and a list of + the filenames of the dropped files. + .timestamp gives a timestamp (in + milliseconds) for the click. */ }; /* If a struct input_event has a kind which is selection_request_event |