www.delorie.com/gnu/docs/elisp-manual-21/elisp_446.html   search  
 
Buy the book!


GNU Emacs Lisp Reference Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

29.1 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 29.3.3 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-functions
An abnormal hook run by make-frame after it creates the frame. Each function in after-make-frame-functions receives one argument, the frame just created.


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003