XtAppSetFallbackResources 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]

XtAppSetFallbackResources()			   XtAppSetFallbackResources()

Name
  XtAppSetFallbackResources - specify a default set of resource values.

Synopsis
  void XtAppSetFallbackResources(app_context, specification_list)
	   XtAppContext app_context;
	   String *specification_list;

Inputs
  app_context
	    Specifies  the  application	 context  in  which  the fallback
	    resources will be used.

  specification_list
	    Specifies a NULL-terminated array of resource  specifications
	    to pre-load the database, or NULL.

Availability
  Release 4 and later.

Description
  XtAppSetFallbackResources()  registers  specification_list as a default
  set of resource values that will be used in app_context  to  initialize
  the  resource	 database if the application-specific class resource file
  (i.e., the app-defaults file) cannot be found.

  specification_list is	 an  array  of	strings,  each	string	a  single
  resource  specification  in resource file format.  If XtDisplayInitial‐
  ize() is not	able  to  find	or  read  an  application-specific  class
  resource  file  then the resource database for the display will be ini‐
  tialized with the values most recently  registered  with  XtAppSetFall‐
  backResources().

  XtAppSetFallbackResources() is not required to copy specification_list;
  the caller must ensure that the contents of the list and of the strings
  addressed  by the list remain valid until all displays are initialized,
  or until XtAppSetFallbackResources() is called again.	 Passing NULL for
  specification_list removes any previous fallback resource specification
  for the application context.

Usage
  XtAppInitialize() provides an	 argument  for	specifying  the	 fallback
  resources, so few applications need to call XtAppSetFallbackResources()
  directly.   Note  that  XtAppSetFallbackResources()  should  be  called
  before  XtOpenDisplay()  or  XtDisplayInitialize()  if they are to take
  effect for that display.

  The intended use of fallback resources is to provide a  minimal  number
  of  resources	 that  make the application usable (or at least terminate
  with helpful diagnostic messages) when some problem exists  in  finding
  and loading the application-defaults file.

See Also
  XtAppInitialize(1), XtDisplayInitialize(1), XtOpenDisplay(1).

Xt - Resource Management			   XtAppSetFallbackResources()
[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