1XtGetSelectionValueIncremental(3x)XT FUNCTIONSXtGetSelectionValueIncremental(3x)
2
3
4

NAME

6       XtGetSelectionValueIncremental, XtGetSelectionValuesIncremental -
7       obtain selection values
8

SYNTAX

10       void XtGetSelectionValueIncremental(Widget w, Atom selection, Atom tar‐
11              get, XtSelectionCallbackProc callback, XtPointer client_data,
12              Time time);
13
14       void XtGetSelectionValuesIncremental(Widget w, Atom selection, Atom
15              *targets, int count, XtSelectionCallbackProc callback, XtPointer
16              client_data, Time time);
17

ARGUMENTS

19       callback  Specifies the callback procedure that is to be called when
20                 the selection value has been obtained.
21
22       client_data
23                 Specifies the argument that is to be passed to the specified
24                 procedure when it is called.
25
26       client_data
27                 Specifies the client data (one for each target type) that is
28                 passed to the callback procedure when it is called for that
29                 target.
30
31       count     Specifies the length of the targets and client_data lists.
32
33       selection Specifies the particular selection desired (that is, primary
34                 or secondary).
35
36       target    Specifies the type of the information that is needed about
37                 the selection.
38
39       targets   Specifies the types of information that is needed about the
40                 selection.
41
42       time      Specifies the timestamp that indicates when the selection
43                 value is desired.
44
45       w         Specifies the widget that is making the request.
46

DESCRIPTION

48       The XtGetSelectionValueIncremental function is similar to XtGetSelec‐
49       tionValue except that the selection_callback procedure will be called
50       repeatedly upon delivery of multiple segments of the selection value.
51       The end of the selection value is indicated when selection_callback is
52       called with a non-NULL value of length zero, which must still be freed
53       by the client. If the transfer of the selection is aborted in the mid‐
54       dle of a transfer (for example, because to timeout), the selec‐
55       tion_callback procedure is called with a type value equal to the sym‐
56       bolic constant XT_CONVERT_FAIL so that the requestor can dispose of the
57       partial selection value it has collected up until that point. Upon
58       receiving XT_CONVERT_FAIL, the requesting client must determine for
59       itself whether or not a partially completed transfer is meaningful.
60
61       The XtGetSelectionValuesIncremental function is similar to XtGet‐
62       SelectionValueIncremental except that it takes a list of target types
63       and a list of client data and obtains the current value of the selec‐
64       tion converted to each of the targets.  The effect is as if each target
65       were specified in a separate call to XtGetSelectionValueIncremental.
66       The callback is called once with the corresponding client data for each
67       target.  XtGetSelectionValuesIncremental does guarantee that all the
68       conversions will use the same selection value because the ownership of
69       the selection cannot change in the middle of the list, as would be when
70       calling XtGetSelectionValueIncremental repeatedly.
71

SEE ALSO

73       X Toolkit Intrinsics - C Language Interface
74       Xlib - C Language X Interface
75
76
77
78X Version 11                      libXt 1.0.4XtGetSelectionValueIncremental(3x)
Impressum