Next: , Previous: , Up: Window Frame Parameters   [Contents][Index]

28.3.3.3 Size Parameters

Frame parameters specify frame sizes in character units. On graphical displays, the default face determines the actual pixel sizes of these character units (see Face Attributes).

height

The height of the frame contents, in characters. (To get the height in pixels, call frame-pixel-height; see Size and Position.)

width

The width of the frame contents, in characters. (To get the width in pixels, call frame-pixel-width; see Size and Position.)

user-size

This does for the size parameters height and width what the user-position parameter (see user-position) does for the position parameters top and left.

fullscreen

Specify that width, height or both shall be maximized. The value fullwidth specifies that width shall be as wide as possible. The value fullheight specifies that height shall be as tall as possible. The value fullboth specifies that both the width and the height shall be set to the size of the screen. The value maximized specifies that the frame shall be maximized. The difference between maximized and fullboth is that the former can still be resized by dragging window manager decorations with the mouse, while the latter really covers the whole screen and does not allow resizing by mouse dragging.

With some window managers you may have to customize the variable frame-resize-pixelwise to a non-nil value in order to make a frame appear “maximized” or “fullscreen”.