| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |
Arguments: window-or-configuration
Returns the height to be used for a newly created window if an explicit height was not specified in the call to make-window. This function is called automatically by the system and should not be called by applications, but an application may supply default-height methods to specify the default sizes for its window subclasses.
default-height is called after the Lisp object for the window has been created but before the actual window has been created by the operating system. It returns an integer denoting the height to use for the new window.
The default version of these methods (for simple-streams) work as follows. The height is determined by:
nil
), that value is used for the height. Otherwise:
(default-height (configuration
*system*))
is true, use that value for
the height. (It is nil
initially though.)
(default-height (configuration
*system*))
is nil
, multiply the
height of the screen, (height (screen *system*))
, by
(default-height-factor (configuration *system*))
and use
the result as the height.
default-height methods may be added for window subclasses of an application in lieu of passing the equivalent initargs for each window instance.
You can pass the :exterior-top-left argument to make-window in order to specify a particular position for the top-left corner of a window without overriding these default size methods. The top-left position will otherwise default to being offset somewhat from the position at which the previous window was created.
default-height is
a property of the configuration
class. See also
default-width and
default-top-left.
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.
| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |