Merge branch 'devel/upgrade' into tizen
[platform/upstream/libXt.git] / man / XtAppSetFallbackResources.man
1 .\" Copyright (c) 1993, 1994  X Consortium
2 .\"
3 .\" Permission is hereby granted, free of charge, to any person obtaining a
4 .\" copy of this software and associated documentation files (the "Software"),
5 .\" to deal in the Software without restriction, including without limitation
6 .\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
7 .\" and/or sell copies of the Software, and to permit persons to whom the
8 .\" Software furnished to do so, subject to the following conditions:
9 .\"
10 .\" The above copyright notice and this permission notice shall be included in
11 .\" all copies or substantial portions of the Software.
12 .\"
13 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 .\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 .\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
16 .\" THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
17 .\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
18 .\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 .\" SOFTWARE.
20 .\"
21 .\" Except as contained in this notice, the name of the X Consortium shall not
22 .\" be used in advertising or otherwise to promote the sale, use or other
23 .\" dealing in this Software without prior written authorization from the
24 .\" X Consortium.
25 .\"
26 .ds tk X Toolkit
27 .ds xT X Toolkit Intrinsics \- C Language Interface
28 .ds xI Intrinsics
29 .ds xW X Toolkit Athena Widgets \- C Language Interface
30 .ds xL Xlib \- C Language X Interface
31 .ds xC Inter-Client Communication Conventions Manual
32 .ds Rn 3
33 .ds Vn 2.2
34 .hw XtApp-Set-Fallback-Resources wid-get
35 .na
36 .de Ds
37 .nf
38 .\\$1D \\$2 \\$1
39 .ft CW
40 .ps \\n(PS
41 .\".if \\n(VS>=40 .vs \\n(VSu
42 .\".if \\n(VS<=39 .vs \\n(VSp
43 ..
44 .de De
45 .ce 0
46 .if \\n(BD .DF
47 .nr BD 0
48 .in \\n(OIu
49 .if \\n(TM .ls 2
50 .sp \\n(DDu
51 .fi
52 ..
53 .de IN          \" send an index entry to the stderr
54 ..
55 .de Pn
56 .ie t \\$1\fB\^\\$2\^\fR\\$3
57 .el \\$1\fI\^\\$2\^\fP\\$3
58 ..
59 .de ZN
60 .ie t \fB\^\\$1\^\fR\\$2
61 .el \fI\^\\$1\^\fP\\$2
62 ..
63 .ny0
64 .TH XtAppSetFallbackResources __libmansuffix__ __xorgversion__ "XT FUNCTIONS"
65 .SH NAME
66 XtAppSetFallbackResources \- set fallback resources
67 .SH SYNTAX
68 .HP
69 void XtAppSetFallbackResources(XtAppContext \fIapp_context\fP, String*
70 \fIspecification_list\fP);
71 .SH ARGUMENTS
72 .IP \fIapp_context\fP 1i
73 Specifies the application context.
74 .IP \fIspecification_list\fP 1i
75 Specifies a NULL-terminated list of resource specifications to pre-load
76 the database, or NULL.
77 .SH DESCRIPTION
78 Each entry in \fIspecification_list\fP points to a string in the format
79 .ZN XrmPutLineResource .
80 following a call to
81 .ZN XtAppSetFallbackResources ,
82 when a resource database is being created for a particular screen and
83 the Intrinsics are not able to find or read an application-specific
84 class resource file and if \fIspecification_list\fP is not NULL the
85 resource specification in \fIspecification_list\fP will be merged
86 into the screen resource database in place of the application-specific
87 class resource file.
88 .ZN XtAppSetFallbackResources
89 is not required to copy \fIspecification_list\fP; the caller must
90 ensure that the contents of the list and the strings addressed by the
91 list remain valid until all displays are initialized or until
92 .ZN XtAppSetFallbackResources
93 is called again. The value NULL for \fIspecification_list\fP removes
94 any previous fallback resource specification for the application context.
95 The intended use for fallback resources is to provide a minimal number
96 of resources that will make the application usable (or at least terminate
97 with helpful diagnostic messages) when some problem exists in finding
98 and loading the application defaults file.
99 .SH "SEE ALSO"
100 .br
101 \fI\*(xT\fP
102 .br
103 \fI\*(xL\fP