XtSetValues man page on Ultrix

Man page or keyword search:  
man Server   3690 pages
apropos Keyword Search (all sections)
Output format
Ultrix logo
[printable version]

XtSetValues(3Xt)		     X11R5		      XtSetValues(3Xt)

NAME
       XtSetValues, XtSetSubvalues, XtGetValues, XtGetSubvalues - obtain and
       set widget resources

SYNTAX
       void XtSetValues(w, args, num_args)
	     Widget w;
	     ArgList args;
	     Cardinal num_args;

       void XtSetSubvalues(base, resources, num_resources, args, num_args)
	     XtPointer base;
	     XtResourceList resources;
	     Cardinal num_resources;
	     ArgList args;
	     Cardinal num_args;

       void XtGetValues(w, args, num_args)
	     Widget w;
	     ArgList args;
	     Cardinal num_args;

       void XtGetSubvalues(base, resources, num_resources, args, num_args)
	     XtPointer base;
	     XtResourceList resources;
	     Cardinal num_resources;
	     ArgList args;
	     Cardinal num_args;

ARGUMENTS
       args	 Specifies the argument list of name/address pairs that con‐
		 tain the resource name and either the address into which the
		 resource value is to be stored or their new values.

       base	 Specifies the base address of the subpart data structure
		 where the resources should be retrieved or written.

       num_args	 Specifies the number of arguments in the argument list.

       resources Specifies the nonwidget resource list or values.

       num_resources
		 Specifies the number of resources in the resource list.

       w	 Specifies the widget.

DESCRIPTION
       The function starts with the resources specified for the widget fields
       and proceeds down the subclass chain to the widget.  At each stage, it
       writes the new value (if specified by one of the arguments) or the
       existing value (if no new value is specified) to a new widget data
       record.	then calls the set_values procedures for the widget in super‐
       class-to-subclass order.	 If the widget has any non-NULL set_val‐
       ues_hook fields, these are called immediately after the corresponding
       set_values procedure.  This procedure permits subclasses to set nonwid‐
       get data for

       If the widget's parent is a subclass of also updates the widget's con‐
       straints.  It starts with the constraint resources specified for and
       proceeds down the subclass chain to the parent's class.	At each stage,
       it writes the new value or the existing value to a new constraint
       record.	It then calls the constraint set_values procedures from down
       to the parent's class.  The constraint set_values procedures are called
       with widget arguments, as for all set_values procedures, not just the
       constraint record arguments, so that they can make adjustments to the
       desired values based on full information about the widget.

       determines if a geometry request is needed by comparing the current
       widget to the new widget.  If any geometry changes are required, it
       makes the request, and the geometry manager returns or If calls the
       widget's resize procedure.  If resets the geometry fields to their
       original values.	 If calls the set_values_almost procedure, which
       determines what should be done and writes new values for the geometry
       fields into the new widget.  then repeats this process, deciding once
       more whether the geometry manager should be called.

       Finally, if any of the set_values procedures returned causes the wid‐
       get's expose procedure to be invoked by calling the Xlib function on
       the widget's window.

       The function stores resources into the structure identified by base.

       The function starts with the resources specified for the core widget
       fields and proceeds down the subclass chain to the widget.  The value
       field of a passed argument list should contain the address into which
       to store the corresponding resource value.  It is the caller's respon‐
       sibility to allocate and deallocate this storage according to the size
       of the resource representation type used within the widget.

       If the widget's parent is a subclass of then fetches the values for any
       constraint resources requested.	It starts with the constraint
       resources specified for and proceeds down to the subclass chain to the
       parent's constraint resources.  If the argument list contains a
       resource name that is not found in any of the resource lists searched,
       the value at the corresponding address is not modified.	Finally, if
       the get_values_hook procedures are non-NULL, they are called in super‐
       class-to-subclass order after all the resource values have been fetched
       by This permits a subclass to provide nonwidget resource data to

       The function obtains resource values from the structure identified by
       base.

SEE ALSO
       X Toolkit Intrinsics - C Language Interface
       Xlib - C Language X Interface

							      XtSetValues(3Xt)
[top]

List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net