~ubuntu-branches/debian/stretch/libxt/stretch

« back to all changes in this revision

Viewing changes to man/XtGetSubresources.man

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Stone
  • Date: 2005-09-12 17:29:07 UTC
  • Revision ID: james.westby@ubuntu.com-20050912172907-ad6dg6r117jij2uo
Tags: upstream-0.99.0+cvs.20050803
ImportĀ upstreamĀ versionĀ 0.99.0+cvs.20050803

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" $Xorg: XtGetSres.man,v 1.3 2000/08/17 19:42:01 cpqbld Exp $
 
2
.\" $XdotOrg: $
 
3
.\"
 
4
.\" Copyright 1993 X Consortium
 
5
.\"
 
6
.\" Permission is hereby granted, free of charge, to any person obtaining
 
7
.\" a copy of this software and associated documentation files (the
 
8
.\" "Software"), to deal in the Software without restriction, including
 
9
.\" without limitation the rights to use, copy, modify, merge, publish,
 
10
.\" distribute, sublicense, and/or sell copies of the Software, and to
 
11
.\" permit persons to whom the Software is furnished to do so, subject to
 
12
.\" the following conditions:
 
13
.\"
 
14
.\" The above copyright notice and this permission notice shall be
 
15
.\" included in all copies or substantial portions of the Software.
 
16
.\"
 
17
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 
18
.\" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 
19
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 
20
.\" IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
 
21
.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 
22
.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 
23
.\" OTHER DEALINGS IN THE SOFTWARE.
 
24
.\"
 
25
.\" Except as contained in this notice, the name of the X Consortium shall
 
26
.\" not be used in advertising or otherwise to promote the sale, use or
 
27
.\" other dealings in this Software without prior written authorization
 
28
.\" from the X Consortium.
 
29
.\"
 
30
.\" $XFree86: xc/doc/man/Xt/XtGetSres.man,v 1.3 2001/02/09 03:47:51 tsi Exp $
 
31
.\"
 
32
.ds tk X Toolkit
 
33
.ds xT X Toolkit Intrinsics \- C Language Interface
 
34
.ds xI Intrinsics
 
35
.ds xW X Toolkit Athena Widgets \- C Language Interface
 
36
.ds xL Xlib \- C Language X Interface
 
37
.ds xC Inter-Client Communication Conventions Manual
 
38
.ds Rn 3
 
39
.ds Vn 2.2
 
40
.hw XtGet-Subresources XtVa-Get-Subresources wid-get
 
41
.na
 
42
.de Ds
 
43
.nf
 
44
.\\$1D \\$2 \\$1
 
45
.ft 1
 
46
.ps \\n(PS
 
47
.\".if \\n(VS>=40 .vs \\n(VSu
 
48
.\".if \\n(VS<=39 .vs \\n(VSp
 
49
..
 
50
.de De
 
51
.ce 0
 
52
.if \\n(BD .DF
 
53
.nr BD 0
 
54
.in \\n(OIu
 
55
.if \\n(TM .ls 2
 
56
.sp \\n(DDu
 
57
.fi
 
58
..
 
59
.de FD
 
60
.LP
 
61
.KS
 
62
.TA .5i 3i
 
63
.ta .5i 3i
 
64
.nf
 
65
..
 
66
.de FN
 
67
.fi
 
68
.KE
 
69
.LP
 
70
..
 
71
.de IN          \" send an index entry to the stderr
 
72
..
 
73
.de C{
 
74
.KS
 
75
.nf
 
76
.D
 
77
.\"
 
78
.\"     choose appropriate monospace font
 
79
.\"     the imagen conditional, 480,
 
80
.\"     may be changed to L if LB is too
 
81
.\"     heavy for your eyes...
 
82
.\"
 
83
.ie "\\*(.T"480" .ft L
 
84
.el .ie "\\*(.T"300" .ft L
 
85
.el .ie "\\*(.T"202" .ft PO
 
86
.el .ie "\\*(.T"aps" .ft CW
 
87
.el .ft R
 
88
.ps \\n(PS
 
89
.ie \\n(VS>40 .vs \\n(VSu
 
90
.el .vs \\n(VSp
 
91
..
 
92
.de C}
 
93
.DE
 
94
.R
 
95
..
 
96
.de Pn
 
97
.ie t \\$1\fB\^\\$2\^\fR\\$3
 
98
.el \\$1\fI\^\\$2\^\fP\\$3
 
99
..
 
100
.de ZN
 
101
.ie t \fB\^\\$1\^\fR\\$2
 
102
.el \fI\^\\$1\^\fP\\$2
 
103
..
 
104
.de NT
 
105
.ne 7
 
106
.ds NO Note
 
107
.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
 
108
.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
 
109
.ie n .sp
 
110
.el .sp 10p
 
111
.TB
 
112
.ce
 
113
\\*(NO
 
114
.ie n .sp
 
115
.el .sp 5p
 
116
.if '\\$1'C' .ce 99
 
117
.if '\\$2'C' .ce 99
 
118
.in +5n
 
119
.ll -5n
 
120
.R
 
121
..
 
122
.               \" Note End -- doug kraft 3/85
 
123
.de NE
 
124
.ce 0
 
125
.in -5n
 
126
.ll +5n
 
127
.ie n .sp
 
128
.el .sp 10p
 
129
..
 
130
.ny0
 
131
.TH XtGetSubresources 3Xt __xorgversion__ "XT FUNCTIONS"
 
132
.SH NAME
 
133
XtGetSubresources, XtVaGetSubresources \- obtain subresources
 
134
.SH SYNTAX
 
135
.HP
 
136
void XtGetSubresources(Widget \fIw\fP, XtPointer \fIbase\fP, String
 
137
\fIname\fP, String \fIclass\fP, XtResourceList \fIresources\fP, Cardinal
 
138
\fInum_resources\fP, ArgList \fIargs\fP, Cardinal \fInum_args\fP); 
 
139
.HP
 
140
void XtVaGetSubresources(Widget \fIw\fP, XtPointer \fIbase\fP, String
 
141
\fIname\fP, String \fIclass\fP, XtResourceList \fIresources\fP, Cardinal
 
142
\fInum_resources\fP); 
 
143
.SH ARGUMENTS
 
144
.ds Al to override resources obtained from the resource database
 
145
.IP \fIargs\fP 1i
 
146
Specifies the argument list \*(Al.
 
147
.ds Ba written
 
148
.IP \fIbase\fP 1i
 
149
Specifies the base address of the subpart data structure where the resources
 
150
should be \*(Ba.
 
151
.IP \fIclass\fP 1i
 
152
Specifies the class of the subpart.
 
153
.IP \fIname\fP 1i
 
154
Specifies the name of the subpart.
 
155
.IP \fInum_args\fP 1i
 
156
Specifies the number of arguments in the argument list.
 
157
.IP \fInum_resources\fP 1i
 
158
Specifies the number of resources in the resource list.
 
159
.IP \fIresources\fP 1i
 
160
Specifies the resource list for the subpart.
 
161
.ds Wi that wants resources for a subpart \
 
162
or that identifies the resource database to search
 
163
.IP \fIw\fP 1i
 
164
Specifies the widget \*(Wi.
 
165
.IP \fI...\fP 1i
 
166
Specifies the variable arguments \*(Al.
 
167
.SH DESCRIPTION
 
168
The
 
169
.ZN XtGetSubresources
 
170
function constructs a name/class list from the application name/class,
 
171
the name/classes of all its ancestors, and the widget itself.
 
172
Then, it appends to this list the name/class pair passed in.
 
173
The resources are fetched from the argument list, the resource database,
 
174
or the default values in the resource list.
 
175
Then, they are copied into the subpart record.
 
176
If args is NULL,
 
177
num_args must be zero.
 
178
However, if num_args is zero,
 
179
the argument list is not referenced.
 
180
.SH "SEE ALSO"
 
181
XtGetApplicationResources, XtVaGetApplicationResources
 
182
.br
 
183
\fI\*(xT\fP
 
184
.br
 
185
\fI\*(xL\fP