ConstraintB man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

Constraint get_values_hook()			  Constraint get_values_hook()

Name
  Constraint get_values_hook - Constraint class method for obtaining val‐
  ues of constraint resources  that  do	 not  appear  in  the  Constraint
  resource list.

Synopsis
  typedef void (*XtArgsProc)(Widget, ArgList, Cardinal *);
	 Widget w;
	 ArgList args;
	 Cardinal *num_args;

Inputs
  w	    Specifies  the  widget or object that is having its resources
	    queried.

  args	    Specifies the argument list that was passed to XtGetValues().

  num_args  Specifies the number of arguments in the argument list.

Availability
  Release 4 and later.

Description
  The Constraint get_values_hook() method is registered on  the	 get_val‐
  ues_hook  field  of a ConstraintClassExtensionRec with record_type NUL‐
  LQUARK, which is itself registered on the extension field of	the  Con‐
  straint  class  part structure.  If such an extension exists, then this
  method is called when XtGetValues() is called for a child of	the  con‐
  straint  widget, and gives the constraint widget the opportunity to set
  values for resources that do not  appear  in	the  Constraint	 resource
  list, or to modify any of the resource values that are to be returned.

  The  Constraint  get_values_hook()  method is chained in superclass-to-
  subclass order, and cannot be inherited.  Classes that do  not  need	a
  get_value_hook()  method  can	 set  NULL  in	the  Constraint extension
  record, or can simply omit the extension record.

  See XtGetValues(1) for more information on when this method is invoked.

Usage
  The usage of this method is similar  to  the	normal	get_values_hook()
  method:  the widget can use XtGetSubvalues() or XtGetValues() to obtain
  the values of constraint resources that do not appear on its Constraint
  resource list, so that it can export them as if they did appear on that
  list.	 This method can also be used to modify the  returned  values  in
  any  way, by making a copy of string resource values, for example.  See
  get_values_hook(4) for more information.

  None of the Intrinsics widgets nor any of the Xaw widgets define a Con‐
  straint get_values_hook() method.

See Also
  XtGetSubvalues(1), XtGetValues(1),
  Core(3),
  get_values_hook(4).

Xt - Intrinsics Methods				  Constraint get_values_hook()
[top]

List of man pages available for HP-UX

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