Returns the trait record associated with a given object
Format
#include <Xm/XmP.h> XtPointer XmeTraitGetXtPointer objectXrmQuark trait
DESCRIPTION
Use XmeTraitGet to determine whether or not a given object has installed a given trait. (Widgets install traits by calling XmeTraitSet.) If object has installed trait, you can use XmeTraitGet to get a pointer to the associated trait record. After obtaining this pointer, you can call the trait methods of trait.
RETURN
If trait was installed on object, XmeTraitGet returns a pointer to the associated trait record. Otherwise, it returns NULL.
RELATED