---
name: "XmDropSiteRetrieve"
section: "3"
platform: "linux"
package: "openmotif"
version: "2.3.8-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XmDropSiteRetrieve"
---

# XmDropSiteRetrieve(3)

A Drag and Drop function that retrieves resource values set on a drop site

## NAME

**XmDropSiteRetrieve** — A Drag and Drop function that retrieves resource values set on a drop site

## SYNOPSIS

```
#include <Xm/DragDrop.h>
void XmDropSiteRetrieve(
Widget widget,
ArgList arglist,
Cardinal argcount);
```

## DESCRIPTION

**XmDropSiteRetrieve** extracts values for the given resources from the drop site specified by *widget*. An initiator can also obtain information about the current drop site by passing the associated DragContext widget as the *widget* parameter to this routine. The initiator can retrieve all of the drop site resources except **XmNdragProc** and **XmNdropProc** using this method.

- *widget*

  Specifies the ID of the widget that encloses the drop site.

- *arglist*

  Specifies the argument list.

- *argcount*

  Specifies the number of attribute/value pairs in the argument list (*arglist*).

For a complete definition of DropSite and its associated resources, see [**XmDropSite**(3)](/XmDropSite/3.md).

## RELATED

[**XmDropSite**(3)](/XmDropSite/3.md) and [**XmDropSiteUpdate**(3)](/XmDropSiteUpdate/3.md).
