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


Opening Windows

Function: open-window &optional buffer x y width height
Opens a new window and returns it. If buffer is defined it is the buffer to display in the new window, otherwise the current buffer is displayed.

The x and y arguments are the pixel coordinates of the new window's top left corner in the display. The width and height arguments are the size of the window in columns and rows of characters respectively.

What happens when the position and size of the window is undefined will depend on the underlying window system, on the Amiga the window will probably be the same as the current window, in X11 the window manager will probably let the user size it interactively.

The new window will have its buffer-list variable initialised suitably and it will be added to the head of the window-list variable.

The make-window function is the lowest level of creating a new window, open-window uses it to open the window.

Function: make-window &optional x y width height
Creates a new window and returns it, the arguments are similar to those of the same name in the open-window function. The window will display the current buffer.

After the window is created the make-window-hook will be called with the window as its argument.

Hook: make-window-hook
Hook called each time a new window is created. It has one argument, the new window.

Variable: pub-screen
This window-local variable is only used on the Amiga version of Jade; it holds the name of the public screen which windows are opened on. By default this is the Workbench screen.

When a window is opened it inherits this value from the current window at the time.


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