NAME
XtVaSetSubvalues − set the current values of subpart resources, using varargs argument style.
Synopsis
void XtVaSetSubvalues(base, resources, num_resources, ..., NULL)
XtPointer base;
XtResourceList resources;
Cardinal num_resources;
Inputs
baseSpecifies the base address of the subpart data structure into which the resources should be written.
resourcesSpecifies the subpart resource list.
num_resources
Specifies the number of resources in the resource list.
..., NULLA NULL-terminated variable-length list of resource name/value pairs to override any other resource specifications.
Availability
Release 4 and later.
Description
XtVaSetSubvalues() sets the resources named in the variable length argument list to the values specified in the same list. The values are copied into the structure pointed to by base at the offset specified by the resource descriptions in resources. Note that the special resource name XtVaTypedArg is not supported by XtVaSetSubvalues(). If XtVaTypedArg is specified in the list, a warning message is issued and the entry is then ignored. XtVaSetSubvalues() is identical to XtSetSubvalues() except that the args array of resource names and values and the num_args argument of that function are replaced with a NULL-terminated variable-length argument list. See XtSetSubvalues() for more information on this function. See XtVaSetValues() for more information on using variable-length argument lists to specify resources. See XtGetApplicationResources() for a description of how to declare an XtResourceList.
See Also
XtGetApplicationResources(1), XtSetSubvalues(1), XtVaSetValues(1).
Copyright O’Reilly & Assoc. — X Toolkit Intrinsics Reference Manual © O’Reilly & Associates