The first thing to know is how to type XtInherit. Unless you really know what you are doing, and want to override specific behaviors, you should definitely specify XtInherit in the class structure of your subclass for the following methods:
Unless you are implementing a fairly trivial widget (such as
XmTrivial), you'll probably have to provide your own
set_values() method. That's okay, just make sure you follow
the rules outlined in the BulletinBoard section above.