| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |
Arguments:
This function returns the currently selected top-level window in this
Lisp if this Lisp is the currently selected application, and otherwise
returns nil
. Returns the window even if it is
in another thread of the same Lisp.
This function may be useful for determining whether this Lisp (either a development environment or standalone application) is the application that is currently selected by the user, by simply checking whether the return value is true.
Note that the expression
(selected-window (screen *system*))
differs in that it will return the most recently selected top-level even when this Lisp is not the currently selected application. (See selected-window.)
See also set-foreground-window.
foreground-window simply calls selected-window on the screen.
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 |