aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2003-12-29 20:58:40 +0000
committerRichard M. Stallman2003-12-29 20:58:40 +0000
commit0c10c5de42ae41fad92880817bfb8b6e43e4bcbe (patch)
treeb2e0a1d7bf048f814553f62352c5f03213f413a9
parent67203dbdf11bbeab54138e9dac5a0fcccea4b1e4 (diff)
downloademacs-0c10c5de42ae41fad92880817bfb8b6e43e4bcbe.tar.gz
emacs-0c10c5de42ae41fad92880817bfb8b6e43e4bcbe.zip
(Frames and Windows): Add set-frame-selected-window and frame-root-window.
-rw-r--r--lispref/frames.texi11
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
927This sets the selected window of frame @var{frame} to @var{window}.
928If @var{frame} is @code{nil}, it operates on the selected frame. If
929@var{frame} is the selected frame, this makes @var{window} the
930selected 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
927makes that window selected within its frame. @xref{Selecting Windows}. 934makes that window selected within its frame. @xref{Selecting Windows}.
928 935
936@defun frame-root-window frame
937This 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
930frame is @code{minibuffer-window}. @xref{Minibuffer Misc}. 941frame is @code{minibuffer-window}. @xref{Minibuffer Misc}.
931 942