1
.\" $Xorg: XtGetSP.man,v 1.3 2000/08/17 19:42:00 cpqbld Exp $
3
.\" Copyright (c) 1993, 1994 X Consortium
5
.\" Permission is hereby granted, free of charge, to any person obtaining a
6
.\" copy of this software and associated documentation files (the "Software"),
7
.\" to deal in the Software without restriction, including without limitation
8
.\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
9
.\" and/or sell copies of the Software, and to permit persons to whom the
10
.\" Software furnished to do so, subject to the following conditions:
12
.\" The above copyright notice and this permission notice shall be included in
13
.\" all copies or substantial portions of the Software.
15
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18
.\" THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
19
.\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
20
.\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
.\" Except as contained in this notice, the name of the X Consortium shall not
24
.\" be used in advertising or otherwise to promote the sale, use or other
25
.\" dealing in this Software without prior written authorization from the
28
.\" $XFree86: xc/doc/man/Xt/XtGetSP.man,v 1.3 2001/02/09 03:47:51 tsi Exp $
31
.ds xT X Toolkit Intrinsics \- C Language Interface
33
.ds xW X Toolkit Athena Widgets \- C Language Interface
34
.ds xL Xlib \- C Language X Interface
35
.ds xC Inter-Client Communication Conventions Manual
38
.hw XtSet-Selection-Parameters XtGet-Selection-Parameters wid-get
45
.\".if \\n(VS>=40 .vs \\n(VSu
46
.\".if \\n(VS<=39 .vs \\n(VSp
69
.de IN \" send an index entry to the stderr
76
.\" choose appropriate monospace font
77
.\" the imagen conditional, 480,
78
.\" may be changed to L if LB is too
79
.\" heavy for your eyes...
81
.ie "\\*(.T"480" .ft L
82
.el .ie "\\*(.T"300" .ft L
83
.el .ie "\\*(.T"202" .ft PO
84
.el .ie "\\*(.T"aps" .ft CW
87
.ie \\n(VS>40 .vs \\n(VSu
95
.ie t \\$1\fB\^\\$2\^\fR\\$3
96
.el \\$1\fI\^\\$2\^\fP\\$3
99
.ie t \fB\^\\$1\^\fR\\$2
100
.el \fI\^\\$1\^\fP\\$2
105
.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
106
.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
120
. \" Note End -- doug kraft 3/85
129
.TH XtGetSelectionParameters 3Xt __xorgversion__ "XT FUNCTIONS"
131
XtGetSelectionParameters \- retrieve target parameters for a selection request with a single target
133
void XtGetSelectionParameters(\fIowner\fP, \fIselection\fP, \fIrequest_id\fP,
134
\fItype_return\fP, \fIvalue_return\fP, \fIlength_return\fP, \fIformat_return\fP)
138
Atom \fIselection\fP;
140
XtRequestId \fIrequest_id\fP;
142
Atom* \fItype_return\fP;
144
XtPointer* \fIvalue_return\fP;
146
unsigned long* \fIlength_return\fP;
148
int* \fIformat_return\fP;
151
Specifies the widget that owns the specified selection.
152
.IP \fIselection\fP 1i
153
Specifies the selection being processed.
154
.IP \fIrequest_id\fP 1i
155
Specifies the requestor id in the case of incremental selections, or NULL
156
in the case of atomic transfers.
157
.IP \fItype_return\fP 1i
158
Specifies a pointer to an atom in whcih the property type of the
159
parameters will be stored.
160
.IP \fIvalue_return\fP 1i
161
Specifies a pointer into which a pointer to the parameters are to be
162
stored. A NULL will be stored if no parameters accompany the request.
163
.IP \fIlength_return\fP 1i
164
Specifies a pointer into which the number of data elements in
165
\fIvalue_return\fP of size indicated by \fIformat_return\fP will be
167
.IP \fIformat_return\fP 1i
168
Specifies a pointer into which the size in bits of the parameter data
169
in the elements of \fIvalue_return\fP will be stored.
171
.ZN XtGetSelectionParameters
172
may only be called from within an
173
.ZN XtConvertSelectionProc
174
or from within the last call to an
175
.ZN XtConvertSelectionIncrProc
176
with a new request_id.
178
XtSetSelectionParameters(3Xt)