Go to the first, previous, next, last section, table of contents.


Creating Frames

To create a new frame, call the function make-frame.

Function: make-frame &optional alist
This function creates a new frame. If you are using a supported window system, it makes a window frame; otherwise, it makes a terminal frame.

The argument is an alist specifying frame parameters. Any parameters not mentioned in alist default according to the value of the variable default-frame-alist; parameters not specified even there default from the standard X resources or whatever is used instead on your system.

The set of possible parameters depends in principle on what kind of window system Emacs uses to display its frames. See section Window Frame Parameters, for documentation of individual parameters you can specify.

Variable: before-make-frame-hook
A normal hook run by make-frame before it actually creates the frame.

Variable: after-make-frame-hook
An abnormal hook run by make-frame after it creates the frame. Each function in after-make-frame-hook receives one argument, the frame just created.


Go to the first, previous, next, last section, table of contents.