Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version