Next: , Previous: , Up: Maximizing Windows   [Contents][Index]


8.14.1 Basic Maximizations

Ordinary maximization occurs on the current screen, and possibly rounding down to fit character sizes.

Function: maximize-window window #!optional direction only-1d
Command: maximize-window window

Maximize both dimensions of window on the screen.

If defined, direction is a symbol, either vertical or horizontal, and maximization will only occur for that direction.

The optional argument only-1d is for internal use. Don’t use it.

Function: maximize-window-vertically window
Command: maximize-window-vertically window
Function: maximize-window-horizontally window
Command: maximize-window-horizontally Windows

Maximize the vertical or horizontal dimension of window in the screen.

Function: maximize-window-toggle window #!optional direction
Command: maximize-window-toggle window

Toggle the state of window between maximized and unmaximized in the screen.

If defined, direction is a symbol, either vertical or horizontal, and maximization will only occur for that direction.

Function: maximize-window-vertically-toggle window
Command: maximize-window-vertically-toggle window

Toggle the state of window between vertically maximized and unmaximized in the screen.

Function: maximize-window-horizontally-toggle window
Command: maximize-window-horizontally-toggle window

Toggle the state of window between horizontally maximized and unmaximized in the screen.

Customizable: move-lock-when-maximized

When true (the default), Sawfish will not allow the user to manually resize maximized windows. It will also prevent the user from moving the windows along their maximized axes.

For example, a vertically maximized window is vertically locked, so a user can slide it left and right, but cannot move it up or down.

If you set this to nil and resize a maximized window, then you can’t unmaximize it any more.

Function: window-locked-vertically-p window

Return t when window is vertically locked.

Function: frame-part-movable-p window part

Return t if the part of window can be moved.

part is one of the symbols: top-border, bottom-border, left-border, right-border, top-left-corner, top-right-corner, bottom-left-corner, bottom-right-corner, or title

Variable: maximize-raises

When true (the default), maximizing a window raises it as well.

Variable: maximize-always-expands

In general, if a window’s dimension is larger than the screen size, maximizing that dimension can actually shrink it to fit into the screen. When this variable is true (default false), maximizing a window’s dimension will never shrink it.


Next: , Previous: , Up: Maximizing Windows   [Contents][Index]