---
name: "XtGetSelectionParameters"
section: "3"
platform: "linux"
package: "libxt"
version: "1.3.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XtGetSelectionParameters"
---

# XtGetSelectionParameters(3)

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

\#include \<X11/Intrinsic.h\>

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(3)](/XtSetSelectionParameters/3.md)\
 *X Toolkit Intrinsics - C Language Interface*\
 *Xlib - C Language X Interface*
