GNU Info

Info Node: (elisp)Misc Events

(elisp)Misc Events


Next: Event Examples Prev: Focus Events Up: Input Events
Enter node , (file) or (file)node

Miscellaneous Window System Events
----------------------------------

   A few other event types represent occurrences within the window
system.

`(delete-frame (FRAME))'
     This kind of event indicates that the user gave the window manager
     a command to delete a particular window, which happens to be an
     Emacs frame.

     The standard definition of the `delete-frame' event is to delete
     FRAME.

`(iconify-frame (FRAME))'
     This kind of event indicates that the user iconified FRAME using
     the window manager.  Its standard definition is `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))'
     This kind of event indicates that the user deiconified FRAME using
     the window manager.  Its standard definition is `ignore'; since the
     frame has already been made visible, Emacs has no work to do.

`(mouse-wheel POSITION DELTA)'
     This kind of event is generated by moving a wheel on a mouse (such
     as the MS Intellimouse).  Its effect is typically a kind of scroll
     or zoom.

     The element DELTA describes the amount and direction of the wheel
     rotation.  Its absolute value is the number of increments by which
     the wheel was rotated.  A negative DELTA indicates that the wheel
     was rotated backwards, towards the user, and a positive DELTA
     indicates that the wheel was rotated forward, away from the user.

     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.

`(drag-n-drop POSITION FILES)'
     This kind of event is generated when a group of files is selected
     in an application outside of Emacs, and then dragged and dropped
     onto an Emacs frame.

     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.

   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.


automatically generated by info2www version 1.2.2.9