DESIGN (xvwidgets) functions


LIBRARY ROUTINE

xvw_check_subclass - check the subclass of an object

LIBRARY CALL

int xvw_check_subclass(
   xvobject object,
   xvclass  wclass)

INPUT

OUTPUT

none

RETURN VALUE

TRUE if the object has the specified subclass, FALSE otherwise

DESCRIPTION

Checks if the object has the specified subclass. Example1: if the object passed in was a zoom object, and the class given was ImageClass, the routine would return TRUE since the zoom object is subclassed off the image object. Example2: if the object passed in was a zoom object, and the class given was ColorClass, the routine would return TRUE, since the zoom object is subclassed off the image object and the image object is subclassed off the color object. Example3: if the object passed in was a zoom object, and the class given was PanIconClass, the routine would return FALSE, since the PanIconClass does not appear in the inheritance tree of the zoom object.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$DESIGN/objects/library/xvwidgets/src/general.c

SEE ALSO

xvwidgets(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.