Generic 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

## object-class

Arguments: object &optional package

Returns the name of a class derived from an arbitrary object. When a command that acts on a class (such as graph-subclasses) is invoked in the Allegro development environment, the default selected-class method finds a class to apply the command to by calling object-class on the selected-object of the selected window. Object-class may return `nil` if a class cannot be derived in some reasonable way from the object. Object-class is bypassed if there is a more specific selected-class method for a particular command and selected window; these more specific methods sometimes exist when it is not sufficient to funnel through the general selected-object in order to derive a selected-class for the window.

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