next up previous contents index
Next: 3. The set_values() Method Up: 2. The Implementation Previous: 1. Extra Prototypes   Contents   Index

2. The Class Structure

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:

\item \code{realize()},
\item \code{resize()},
\item \code{expo...
...\item \code{geometry\_manager()},
\item \code{change\_managed()}.

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.

Danny Backx