XtVaGetSubvalues() XtVaGetSubvalues()
Name
XtVaGetSubvalues - retrieve the current values of subpart resources, using varargs argument style.
Synopsis
void XtVaGetSubvalues(base, resources, num_resources, ..., NULL)
XtPointer base;
XtResourceList resources;
Cardinal num_resources;
Inputs
base Specifies the base address of the subpart data structure for which the resources should be retrieved.
resources Specifies the subpart resource list.
num_resources
Specifies the number of resources in the resource list.
..., NULL A NULL-terminated variable-length list of resource names and the addresses at which the values of those resources are to be
stored.
Availability
Release 4 and later.
Description
XtVaGetSubvalues() obtains the values of the resources named in the variable-length argument list (and described in the resource list
resources) from the subpart structure pointed to by base, and stores those values at the addresses specified in the variable length argu-
ment list. Note that the special symbol XtVaTypedArg is not supported by XtVaGetSubvalues(). If XtVaTypedArg is specified in the list, a
warning message is issued and the entry is then ignored.
XtVaGetSubvalues() is identical to XtGetSubvalues() 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 XtGetSubvalues() for more information on this function. See XtVaSetValues() for more information on using variable-length argument
lists to specify resources. See XtGetApplicationResources() for information on how to declare an XtResourceList.
See AlsoXtGetApplicationResources(1), XtGetSubvalues(1), XtVaSetValues(1).
Xt - Resource Management XtVaGetSubvalues()
Check Out this Related Man Page
XtVaGetSubresources() XtVaGetSubresources()
Name
XtVaGetSubresources - fetch resources for widget subparts, using varargs argument style.
Synopsis
void XtVaGetSubresources(object, base, name, class, resources, num_resources, ..., NULL)
Widget object;
XtPointer base;
String name;
String class;
XtResourceList resources;
Cardinal num_resources;
Inputs
object Specifies the object used to qualify the subpart resource name and class; may be of class Object or any subclass thereof.
base Specifies the base address of the subpart data structure into which the resources will be written.
name Specifies the name of the subpart.
class Specifies the class of the subpart.
resources Specifies the resource list for the subpart.
num_resources
Specifies the number of resources in the resource list.
..., NULL A NULL-terminated variable-length list of resource name/value pairs to override any other resource specifications.
Availability
Release 4 and later.
Description
XtVaGetSubresources() gets values for each of the resources described in resources from the variable length argument list, the resource
database, or the default values associated with each resource, and stores these values into the structure pointed to by base. It is iden-
tical to XtGetSubresources() 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 XtGetSubresources() 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 AlsoXtGetApplicationResources(1), XtGetSubresources(1), XtVaSetValues(1).
Xt - Resource Management XtVaGetSubresources()
Hi all,
Does anyone know a technique for creating a download file in variable length format? I have looked around but haven't found any resources on this (or, maybe I'm not sure what to Google for :) )
Thanks in advance! (2 Replies)
I have a file name stored in a variable.
A=/bb/data/f233pdb
How can I retrive the base name (f233pdb) and the path (/bb/data/) and assign them to two new variables, so the result will look like this
B=f233pdb
C=/bb/data/
Thansk a lot for any help -A (8 Replies)
I was wondering what is the function in C to free a resource(usually a variable)
I know in C# there a Garbage collector, but in c and C++ there are none.
I believe in c++ the function is free(); (8 Replies)
Dear all,
I have basic knowledge of Unix script and her I am trying to process variable length and variable format CSV file.
The file length will depend on the numbers of Earnings/Deductions/Direct Deposits.
And
The format will depend on whether it is Earnings/Deductions or Direct Deposits... (2 Replies)
Hi there,
I wanna define a variable 'tempbase'. Therefore I read a text file "base.out". "base.out" contains a list with four columns. 'tempbase' is the 4th entry in the line, where the first entry is equal to the predefined variable $orb1 and the second entry is equal to $orb2. I wrote the code... (2 Replies)