1 |
/* Generic frame functions. |
/* Generic frame functions. |
2 |
Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2003 |
Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2003, 2004 |
3 |
Free Software Foundation. |
Free Software Foundation. |
4 |
|
|
5 |
This file is part of GNU Emacs. |
This file is part of GNU Emacs. |
733 |
Subsequent editing commands apply to its selected window. |
Subsequent editing commands apply to its selected window. |
734 |
The selection of FRAME lasts until the next time the user does |
The selection of FRAME lasts until the next time the user does |
735 |
something to select a different frame, or until the next time this |
something to select a different frame, or until the next time this |
736 |
function is called. */) |
function is called. If you are using a window system, the previously |
737 |
|
selected frame may be restored as the selected frame after return to |
738 |
|
the command loop, because it still may have the window system's input |
739 |
|
focus. On a text-only terminal, the next redisplay will display FRAME. |
740 |
|
|
741 |
|
This function returns FRAME, or nil if FRAME has been deleted. */) |
742 |
(frame, no_enter) |
(frame, no_enter) |
743 |
Lisp_Object frame, no_enter; |
Lisp_Object frame, no_enter; |
744 |
{ |
{ |
866 |
DEFUN ("set-frame-selected-window", Fset_frame_selected_window, |
DEFUN ("set-frame-selected-window", Fset_frame_selected_window, |
867 |
Sset_frame_selected_window, 2, 2, 0, |
Sset_frame_selected_window, 2, 2, 0, |
868 |
doc: /* Set the selected window of frame object FRAME to WINDOW. |
doc: /* Set the selected window of frame object FRAME to WINDOW. |
869 |
|
Return WINDOW. |
870 |
If FRAME is nil, the selected frame is used. |
If FRAME is nil, the selected frame is used. |
871 |
If FRAME is the selected frame, this makes WINDOW the selected window. */) |
If FRAME is the selected frame, this makes WINDOW the selected window. */) |
872 |
(frame, window) |
(frame, window) |
1717 |
doc: /* Return t if FRAME is now \"visible\" (actually in use for display). |
doc: /* Return t if FRAME is now \"visible\" (actually in use for display). |
1718 |
A frame that is not \"visible\" is not updated and, if it works through |
A frame that is not \"visible\" is not updated and, if it works through |
1719 |
a window system, it may not show at all. |
a window system, it may not show at all. |
1720 |
Return the symbol `icon' if frame is visible only as an icon. */) |
Return the symbol `icon' if frame is visible only as an icon. |
1721 |
|
|
1722 |
|
On a text-only terminal, all frames are considered visible, whether |
1723 |
|
they are currently being displayed or not, and this function returns t |
1724 |
|
for all frames. */) |
1725 |
(frame) |
(frame) |
1726 |
Lisp_Object frame; |
Lisp_Object frame; |
1727 |
{ |
{ |
1761 |
|
|
1762 |
DEFUN ("raise-frame", Fraise_frame, Sraise_frame, 0, 1, "", |
DEFUN ("raise-frame", Fraise_frame, Sraise_frame, 0, 1, "", |
1763 |
doc: /* Bring FRAME to the front, so it occludes any frames it overlaps. |
doc: /* Bring FRAME to the front, so it occludes any frames it overlaps. |
1764 |
If FRAME is invisible, make it visible. |
If FRAME is invisible or iconified, make it visible. |
1765 |
If you don't specify a frame, the selected frame is used. |
If you don't specify a frame, the selected frame is used. |
1766 |
If Emacs is displaying on an ordinary terminal or some other device which |
If Emacs is displaying on an ordinary terminal or some other device which |
1767 |
doesn't support multiple overlapping frames, this function does nothing. */) |
doesn't support multiple overlapping frames, this function does nothing. */) |