Next: Event Examples, Previous: Focus Events, Up: Input Events
A few other event types represent occurrences within the system.
(delete-frame (frame))The standard definition of the delete-frame event is to delete frame.
(iconify-frame (frame))ignore; since the
frame has already been iconified, Emacs has no work to do. The purpose
of this event type is so that you can keep track of such events if you
want to.
(make-frame-visible (frame))ignore; since the
frame has already been made visible, Emacs has no work to do.
(wheel-up position)(wheel-down position)The element position is a list describing the position of the event, in the same format as used in a mouse-click event.
This kind of event is generated only on some kinds of systems. On some
systems, mouse-4 and mouse-5 are used instead. For
portable code, use the variables mouse-wheel-up-event and
mouse-wheel-down-event defined in mwheel.el to determine
what event types to expect for the mouse wheel.
(drag-n-drop position files)The element position is a list describing the position of the event, in the same format as used in a mouse-click event, and files is the list of file names that were dragged and dropped. The usual way to handle this event is by visiting these files.
This kind of event is generated, at present, only on some kinds of systems.
help-echohelp-echo text property.
The generated event has this form:
(help-echo frame help window object pos)
The precise meaning of the event parameters and the way these parameters are used to display the help-echo text are described in Text help-echo.
usr1-signalusr2-signalSIGUSR1 and SIGUSR2. They contain no additional data
because signals do not carry additional information.
If one of these events arrives in the middle of a key sequence—that is, after a prefix key—then Emacs reorders the events so that this event comes either before or after the multi-event key sequence, not within it.