XtGetSelectionParameters(3) XT FUNCTIONS XtGetSelectionParameters(3)

# [NAME](#NAME)

XtGetSelectionParameters - retrieve target parameters for a selection request with a single target

# [SYNTAX](#SYNTAX)

#include &lt;X11/Intrinsic.h&gt;

void XtGetSelectionParameters(Widget *owner*, Atom *selection*, XtRequestId *request\_id*, Atom \**type\_return*, XtPointer \**value\_return*, unsigned long \**length\_return*, int \**format\_return*);

# [ARGUMENTS](#ARGUMENTS)

[*owner*](#owner)

Specifies the widget that owns the specified selection.

[*selection*](#selection)

Specifies the selection being processed.

[*request\_id*](#request_id)

Specifies the requestor id in the case of incremental selections, or NULL in the case of atomic transfers.

[*type\_return*](#type_return)

Specifies a pointer to an atom in which the property type of the parameters will be stored.

[*value\_return*](#value_return)

Specifies a pointer into which a pointer to the parameters are to be stored. A NULL will be stored if no parameters accompany the request.

[*length\_return*](#length_return)

Specifies a pointer into which the number of data elements in *value\_return* of size indicated by *format\_return* will be stored.

[*format\_return*](#format_return)

Specifies a pointer into which the size in bits of the parameter data in the elements of *value\_return* will be stored.

# [DESCRIPTION](#DESCRIPTION)

**XtGetSelectionParameters** may only be called from within an **XtConvertSelectionProc** or from within the last call to an **XtConvertSelectionIncrProc** with a new request\_id.

# [SEE ALSO](#SEE_ALSO)

[XtSetSelectionParameters(3)](/man/os/libxt/XtSetSelectionParameters.3)  
*X Toolkit Intrinsics - C Language Interface*  
*Xlib - C Language X Interface*

libXt 1.3.1 X Version 11

---

Document: XtGetSelectionParameters(3) from libxt 1.3.1-r11 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libxt.git
