[ < ] [ > ]   [ << ] [Plus haut] [ >> ]         [Top] [Table des matières] [Index] [ ? ]

29. Frames

In Emacs editing, A frame is a screen object that contains one or more Emacs windows. It's the kind of object that is called a “window” in the terminology of graphical environments; but we can't call it a “window” here, because Emacs uses that word in a different way.

A frame initially contains a single main window and/or a minibuffer window; you can subdivide the main window vertically or horizontally into smaller windows. In Emacs Lisp, a frame object is a Lisp object that represents a frame on the screen.

When Emacs runs on a text-only terminal, it starts with one terminal frame. If you create additional ones, Emacs displays one and only one at any given time—on the terminal screen, of course.

When Emacs communicates directly with a supported window system, such as X, it does not have a terminal frame; instead, it starts with a single window frame, but you can create more, and Emacs can display several such frames at once as is usual for window systems.

Function: framep object

This predicate returns a non-nil value if object is a frame, and nil otherwise. For a frame, the value indicates which kind of display the frame uses:

x

The frame is displayed in an X window.

t

A terminal frame on a character display.

mac

The frame is displayed on a Macintosh.

w32

The frame is displayed on MS-Windows 9X/NT.

pc

The frame is displayed on an MS-DOS terminal.

Voir la section Emacs Display, for information about the related topic of controlling Emacs redisplay.


[ < ] [ > ]   [ << ] [Plus haut] [ >> ]         [Top] [Table des matières] [Index] [ ? ]

Ce document a été généré par Eric Reinbold le 13 Octobre 2007 en utilisant texi2html 1.78.