Previous: Compiling With the Panels Library, Up: Panels Library   [Contents][Index]

4.13.3 Moving and Resizing Panels

The procedure move-panel can be used to move a panel to the desired location. It does not change the position of the panel in the stack. Make sure that you use move-panel instead mvwin on the window associated with the panel.

Resizing a panel is slightly complex. There is no straight forward function just to resize the window associated with a panel. A solution to resize a panel is to create a new window with the desired sizes, change the window associated with the panel using replace-panel!. Don’t forget to delete the old window. The window associated with a panel can be found by using the function panel-window.