| Allegro CL version 6.2 Unrevised from 6.1 |
Arguments: basic-pane
This function returns the owner of the argument if there is one. If the argument is a child window or a non-owned top-level window, this function returns its parent (which is a window for a child window or the screen for a non-owned top-level window).
In releases prior to 6.0,
nil
(instead of the parent) was returned when
the argument was a child window or a non-owned top-level window.
Applications developed in releases prior to 6.0 that call owner will probably
typically be able to leave the calls as they are. But if an
application depends on owner to return nil
for a child window, then it should substitute a form such as
(and (not (child-p window)) (owner window))
for the call to owner. And if an application
depends on owner to return nil
for a
non-owned top-level window, then it should substitute a form such as
(and (windowp (owner window))(owner window))
Note that a so-called "non-owned top-level window" is now one whose owner is the screen rather than a window.
See About child, parent, and owner windows in cgide.htm.
Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.
| Allegro CL version 6.2 Unrevised from 6.1 |