XtGetSelectionRequest


NAME

XtGetSelectionRequest - retrieve the event that triggered the XtConvertSelectionProc

SYNTAX

XSelectionRequestEvent* XtGetSelectionRequest(w, selec- tion, request_id) Widget w; Atom selection; XtRequestId request_id;

ARGUMENTS

w Specifies the widget. selection Specifies the selection being processed. request_id Specifies the requestor id in the case of incre- mental selections, or NULL in the case of atomic transfers.

DESCRIPTION

XtGetSelectionRequest may only be called from within an XtConvertSelectionProc procedure and returns a pointer to the SelectionRequest event that caused the conversion pro- cedure to be invoked. Request_id specifies a unique id for the individual request in the case that multiple incremen- tal transfers are outstanding. For atomic transfers, request_id must be specified as NULL. If no SelectionRe- quest event is being processed for the specified widget, selection, and request_id, XtGetSelectionRequest returns NULL.

SEE ALSO

X Toolkit Intrinsics - C Language Interface Xlib - C Language X Interface

Man(1) output converted with man2html