SET (WIDGET_RESOURCE_TYPES) Adds new widget resource types to the list of types that DECTPU supports. This built-in is valid only in the Motif environment. Syntax SET (WIDGET_RESOURCE_TYPES, widget_data_type, widget_resource_types) Parameter WIDGET_RESOURCE_TYPES A keyword directing DECTPU to add new Motif widget resource types to the list of supported resource types. If you redefine a resource type to be of another data type, DECTPU signals the warning TPU$_TYPEREDEFINED. You cannot save resources in section files. DECTPU does not verify that your third parameter specifies the name of a valid widget resource or resource type. If you misspell the third parameter, you will get an error when you try to use that resource with a widget. For the current list of supported resource types, see the GET_INFO(WIDGET,"widget_resource_types") built-in. widget_data_type A string that is the data type of the widget resource types given by the third parameter. It tells DECTPU how to process the resource types. DECTPU supports the following data types: "boolean", "callback", "char", "compound_string", "compound_string_table", "int", "short", "unsigned_short", and "unsigned_char". widget_resource_type A series of names of widget resources or resource types that are of the data type specified by the second parameter. You can specify an array of strings, or a comma separated list of strings. If you use an array, you index the array with any valid DECTPU array indexes. The array elements contain the names of either widget resources (for example, "dialogStyle"), or of widget resource types (for example, "Int"). If you use a comma separated list of strings, the strings are the names of the widget resources or resource types. Example The following statement enables your application to use the "dialogStyle" resource of the Motif XmBulletinBoard widget, which is an unsigned_char data type. "dialogStyle" is the name of the resource: SET (WIDGET_RESOURCE_TYPES, "unsigned_char", "dialogStyle")