Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## add-status-bar

Arguments: window &optional status-bar (number-of-lines (status-bar-number-of-lines window)) (font (status-bar-font window))status-bar-class-name

Creates a status-bar dialog pane on window, unless there is already one there. (Only a single status-bar pane can be added to a window.) Re-sizes any other child windows on window in order to make room for the status-bar. Also moves any widgets (if on a dialog) upward to make room.

The status bar added is an instance of the `status-bar` class. You may wish to use a `common-status-bar`, in which case use add-common-status-bar.

The arguments are:

- window: the window to get the status bar.
- status-bar: if passed, should be either a status-bar that was removed from a window, or a status-bar created with make-window with a call like:

      (make-window 'status-bar ...)

- number-of-lines: the number of lines of text that should fit into the status-bar's `static-text` widget. The status-bar dialog will be made of sufficient height to fit the requested number of lines. Defaults to status-bar-number-of-lines applied to window.
- font: the font to use in the static-text widget of the status-bar dialog pane. The status-bar dialog will be made of sufficient height to fit this font. Defaults to status-bar-font applied to window.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version