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

## nth-window

Arguments: n parent-stream &key owned-p states

Returns the nth window on parent-stream. Counting starts from 0.

parent-stream may be either a window or the screen (the value of `(screen *system*)`, see screen and `*system*`).

If owned-p is `nil`, then only child windows are considered. If it is true, then only owned windows of parent-stream that are not also child windows of parent-stream are considered. Only top-level windows can have owned windows that are not also their children.

States should be list of window states, that is one or more of (:normal :maximized :shrunk :icon), to consider when looking at sub-windows. If `nil`, then all sub-windows are considered. Otherwise, only considers the sub-window if its state is a member of states.

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