comparison lispref/commands.texi @ 79657:e973c81696dd

(Accessing Mouse): Renamed from Accessing Events. (Accessing Scroll): New node broken out of Accessing Mouse.
author Richard M. Stallman <rms@gnu.org>
date Sun, 30 Dec 2007 21:39:40 +0000
parents 2ac6721844b2
children a1e16e813aed
comparison
equal deleted inserted replaced
79656:b3ebc6fbb476 79657:e973c81696dd
952 * Focus Events:: Moving the mouse between frames. 952 * Focus Events:: Moving the mouse between frames.
953 * Misc Events:: Other events the system can generate. 953 * Misc Events:: Other events the system can generate.
954 * Event Examples:: Examples of the lists for mouse events. 954 * Event Examples:: Examples of the lists for mouse events.
955 * Classifying Events:: Finding the modifier keys in an event symbol. 955 * Classifying Events:: Finding the modifier keys in an event symbol.
956 Event types. 956 Event types.
957 * Accessing Events:: Functions to extract info from events. 957 * Accessing Mouse:: Functions to extract info from mouse events.
958 * Accessing Scroll:: Functions to get info from scroll bar events.
958 * Strings of Events:: Special considerations for putting 959 * Strings of Events:: Special considerations for putting
959 keyboard character events in a string. 960 keyboard character events in a string.
960 @end menu 961 @end menu
961 962
962 @node Keyboard Events 963 @node Keyboard Events
1801 (event-convert-list '(control super f1)) 1802 (event-convert-list '(control super f1))
1802 @result{} C-s-f1 1803 @result{} C-s-f1
1803 @end example 1804 @end example
1804 @end defun 1805 @end defun
1805 1806
1806 @node Accessing Events 1807 @node Accessing Mouse
1807 @subsection Accessing Events 1808 @subsection Accessing Mouse Events
1808 @cindex mouse events, data in 1809 @cindex mouse events, data in
1809 1810
1810 This section describes convenient functions for accessing the data in 1811 This section describes convenient functions for accessing the data in
1811 a mouse button or motion event. 1812 a mouse button or motion event.
1812 1813
1947 frame or window used. 1948 frame or window used.
1948 If @var{whole} is @code{nil}, the coordinates are relative 1949 If @var{whole} is @code{nil}, the coordinates are relative
1949 to the window text area, otherwise they are relative to 1950 to the window text area, otherwise they are relative to
1950 the entire window area including scroll bars, margins and fringes. 1951 the entire window area including scroll bars, margins and fringes.
1951 @end defun 1952 @end defun
1953
1954 @node Accessing Scroll
1955 @subsection Accessing Scroll Bar Events
1956 @cindex scroll bar events, data in
1952 1957
1953 These functions are useful for decoding scroll bar events. 1958 These functions are useful for decoding scroll bar events.
1954 1959
1955 @defun scroll-bar-event-ratio event 1960 @defun scroll-bar-event-ratio event
1956 This function returns the fractional vertical position of a scroll bar 1961 This function returns the fractional vertical position of a scroll bar