---
name: "XtGetSelectionParameters"
section: "3x"
platform: "linux"
package: "libxt-dev"
version: "4.3.0.dfsg.1-14sarge7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/XtGetSelectionParameters/3x"
---

# XtGetSelectionParameters(3x)

retrieve target parameters for a selection request with a single target

## NAME

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

## SYNTAX

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

## ARGUMENTS

- *owner*

  Specifies the widget that owns the specified selection.

- *selection*

  Specifies the selection being processed.

- *request\_id*

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

- *type\_return*

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

- *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*

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

- *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

*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

XtSetSelectionParameters(3Xt)\
 *X Toolkit Intrinsics - C Language Interface*\
 *Xlib - C Language X Interface*
