Next: , Previous: , Up: Frames   [Contents][Index]

39.9 Visibility of Frames

An frame on a window system may be visible, invisible, or iconified. If it is visible, you can see its contents. If it is iconified, the frame’s contents do not appear on the screen, but an icon does. If the frame is invisible, it doesn’t show on the screen, not even as an icon.

Visibility is meaningless for TTY frames, since only the selected one is actually displayed in any case.

Function: make-frame-visible &optional frame

This function makes frame frame visible. If you omit frame, it makes the selected frame visible.

Function: make-frame-invisible &optional frame force

This function makes frame frame invisible.

Command: iconify-frame &optional frame

This function iconifies frame frame.

Function: Command deiconify-frame &optional frame

This function de-iconifies frame frame. Under a window system, this is equivalent to make-frame-visible.

Function: frame-visible-p &optional frame

This returns whether frame is currently “visible” (actually in use for display). A frame that is not visible is not updated, and, if it works through a window system, may not show at all.

Function: frame-iconified-p &optional frame

This returns whether frame is iconified. Not all window managers use icons; some merely unmap the window, so this function is not the inverse of frame-visible-p. It is possible for a frame to not be visible and not be iconified either. However, if the frame is iconified, it will not be visible. (Under FSF Emacs, the functionality of this function is obtained through frame-visible-p.)

Function: frame-totally-visible-p &optional frame

This returns whether frame is not obscured by any other X windows. On TTY frames, this is the same as frame-visible-p.

Next: , Previous: , Up: Frames   [Contents][Index]