Mercurial > emacs
changeset 21889:93207874c93c
(event_kind): New event type `drag_n_drop'.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 01 May 1998 04:52:40 +0000 |
parents | 6ce89105f98f |
children | f28b2d5e921b |
files | src/termhooks.h |
diffstat | 1 files changed, 16 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/termhooks.h Fri May 01 04:51:51 1998 +0000 +++ b/src/termhooks.h Fri May 01 04:52:40 1998 +0000 @@ -233,7 +233,8 @@ .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 @@ (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