diff options
| author | Kim F. Storm | 2005-01-14 12:15:33 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2005-01-14 12:15:33 +0000 |
| commit | cfa284c450931ec8b27c34022b016d96dc3014fd (patch) | |
| tree | 53c3e7d2e4fd1969ab6c1dd8eb342741aad27d5e | |
| parent | 88948d55b15b3f6e5730ea69e597818c8b01103f (diff) | |
| download | emacs-cfa284c450931ec8b27c34022b016d96dc3014fd.tar.gz emacs-cfa284c450931ec8b27c34022b016d96dc3014fd.zip | |
(Accessing Events): Add WHOLE arg to posn-at-x-y.
| -rw-r--r-- | lispref/commands.texi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lispref/commands.texi b/lispref/commands.texi index fb0eabe272b..b1bc552db36 100644 --- a/lispref/commands.texi +++ b/lispref/commands.texi | |||
| @@ -1843,12 +1843,15 @@ This function returns a position list for position @var{pos} in | |||
| 1843 | @var{window}. | 1843 | @var{window}. |
| 1844 | @end defun | 1844 | @end defun |
| 1845 | 1845 | ||
| 1846 | @defun posn-at-x-y x y &optional frame-or-window | 1846 | @defun posn-at-x-y x y &optional frame-or-window whole |
| 1847 | This function returns position information corresponding to pixel | 1847 | This function returns position information corresponding to pixel |
| 1848 | coordinates @var{x} and @var{y} in a specified frame or window, | 1848 | coordinates @var{x} and @var{y} in a specified frame or window, |
| 1849 | @var{frame-or-window}, which defaults to the selected window. | 1849 | @var{frame-or-window}, which defaults to the selected window. |
| 1850 | The coordinates @var{x} and @var{y} are relative to the | 1850 | The coordinates @var{x} and @var{y} are relative to the |
| 1851 | frame or window used. | 1851 | frame or window used. |
| 1852 | If @var{whole} is @code{nil}, the coordinates are relative | ||
| 1853 | to the window text area, otherwise they are relative to | ||
| 1854 | the entire window area including scroll bars, margins and fringes. | ||
| 1852 | @end defun | 1855 | @end defun |
| 1853 | 1856 | ||
| 1854 | These functions are useful for decoding scroll bar events. | 1857 | These functions are useful for decoding scroll bar events. |