diff options
| author | Richard M. Stallman | 2003-12-29 20:58:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-12-29 20:58:40 +0000 |
| commit | 0c10c5de42ae41fad92880817bfb8b6e43e4bcbe (patch) | |
| tree | b2e0a1d7bf048f814553f62352c5f03213f413a9 | |
| parent | 67203dbdf11bbeab54138e9dac5a0fcccea4b1e4 (diff) | |
| download | emacs-0c10c5de42ae41fad92880817bfb8b6e43e4bcbe.tar.gz emacs-0c10c5de42ae41fad92880817bfb8b6e43e4bcbe.zip | |
(Frames and Windows): Add set-frame-selected-window and frame-root-window.
| -rw-r--r-- | lispref/frames.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lispref/frames.texi b/lispref/frames.texi index 76b4228cc4f..ec3c1c6dc7c 100644 --- a/lispref/frames.texi +++ b/lispref/frames.texi | |||
| @@ -923,9 +923,20 @@ This function returns the window on @var{frame} that is selected within | |||
| 923 | @var{frame}. | 923 | @var{frame}. |
| 924 | @end defun | 924 | @end defun |
| 925 | 925 | ||
| 926 | @defun set-frame-selected-window frame window | ||
| 927 | This sets the selected window of frame @var{frame} to @var{window}. | ||
| 928 | If @var{frame} is @code{nil}, it operates on the selected frame. If | ||
| 929 | @var{frame} is the selected frame, this makes @var{window} the | ||
| 930 | selected window. | ||
| 931 | @end defun | ||
| 932 | |||
| 926 | Conversely, selecting a window for Emacs with @code{select-window} also | 933 | Conversely, selecting a window for Emacs with @code{select-window} also |
| 927 | makes that window selected within its frame. @xref{Selecting Windows}. | 934 | makes that window selected within its frame. @xref{Selecting Windows}. |
| 928 | 935 | ||
| 936 | @defun frame-root-window frame | ||
| 937 | This function returns the window at the top left corner of @var{frame}. | ||
| 938 | @end defun | ||
| 939 | |||
| 929 | Another function that (usually) returns one of the windows in a given | 940 | Another function that (usually) returns one of the windows in a given |
| 930 | frame is @code{minibuffer-window}. @xref{Minibuffer Misc}. | 941 | frame is @code{minibuffer-window}. @xref{Minibuffer Misc}. |
| 931 | 942 | ||