object-class

Generic Function

Package: common-graphics

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.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.