Name
XtIsWidget — test whether a widget is a subclass of the Core widget class.
Synopsis
Boolean XtIsWidget(object)
Widget object;
Arguments
objectSpecifies the object whose class is to be checked; may be of class Object or any subclass thereof.
Description
XtIsWidget tests whether a widget is a subclass of the Core widget class. This is really just a convenience function equivalent to calling XtIsSubclass with coreWidgetClass as the object_class argument. XtIsWidget is defined as a macro in <X11/Intrinsic.h>:
#define XtIsWidget(object) (_XtCheckSubclassFlag(object, (XtEnum)0x04))