XtVaAppInitialize(). The remainder of the argument list is a variable−length list of resource settings. We'll
talk about the format of these resource settings in the next section.
3.3.5 Setting and Getting Widget Resources
A widget class defines resources of its own and it inherits resources from its superclasses. The names of the resources
provided by each widget class (new and inherited) are documented in the widget reference pages in Volume Six B,
Motif Reference Manual. The most useful resources are described in detail in the individual chapters on each of the
Motif widget classes.
When resources are set in a program, each resource name begins with the prefix XmN. These names are mnemonic
constants that correspond to actual C strings that have the same name without the XmN prefix. For example, the actual
resource name associated with XmNlabelString is labelString. The XmN identifies the resource as being
Motif−related. Motif also uses the XmC prefix to identify resource class symbols. Xt uses the prefix XtN for any
resources defined by its base widget classes. Motif also provides corresponding XmN names for most of these
resources. Some toolkits use the XtN prefix, even though its resource are not common to all Xt toolkits. The resource
naming convention has not been used long enough for all vendors to conform to it. If you need access to an Xt−based
resource that does not have a corresponding XmN constant, you need to include the file <X11/StringDefs.h>. When you
are specifying resources ...