Enumeration set definitions register the named constants used in Builder Xcessory to specify some resource values. Typically these are integer values in some finite range. For example, under the EnumerationSet section of the WML file you might make the following definition.
where XmARROW_UP, XmARROW_DOWN, XmARROW_LEFT, and XmARROW_RIGHT correspond to enums or #defines in C code.
In the resource section of the WML file, you can define a resource:
For more information see the "Enumeration Set Definitions" in the OSF/Motif Programmer's Reference.
Builder Xcessory supports the following syntax:
- <identifier>:"<double quoted string>" = <integer>
If you omit the =<integer> from an EnumerationSet entry, Builder Xcessory assumes its value to be one greater than the preceding value. The initial value is assumed to be zero.