Name
XtLoseSelectionProc — prototype procedure called by Xt when another client claims the selection.
Synopsis
typedef void (∗XtLoseSelectionProc)(Widget, Atom ∗);
Widget w;
Atom ∗selection;
Arguments
wSpecifies the widget that has lost selection ownership.
selectionSpecifies the atom that describes the selection type.
Description
This procedure is called by the Intrinsics when the specified widget loses the selection. The XtLoseSelectionProc is registered when a widget asserts selection ownership with XtOwnSelection.
The Intrinsics use this procedure to inform the former selection owner after the selection changes hands. Note that this procedure does not ask the widget to lose the selection ownership.
Chapter 10, Interclient Communications, in Volume Four, X Toolkit Intrinsics Programming Manual, presents a complete example widget that both sends and receives data using selections.
See Also
XtDisownSelection(1), XtGetSelectionValue(1), XtGetSelectionValueIncremental(1), XtOwnSelection(1), XtLoseSelectionIncrProc(2).