DOKK / manpages / debian 10 / libmotif-dev / XmContainerPaste.3.en
XmContainerPaste(3) Library Functions Manual XmContainerPaste(3)

XmContainerPaste — Container widget function to insert items from the clipboard "XmContainerPaste" "XmContainer"

#include <Xm/Container.h>
Boolean XmContainerPaste(
Widget container);

XmContainerPaste requests data transfer from the clipboard selection to the Container. This routine calls the widget's XmNdestinationCallback procedures with the selection member of the XmDestinationCallbackStruct set to CLIPBOARD and with the operation member set to XmCOPY. The Container widget itself performs no transfers; the XmNdestinationCallback procedures are responsible for inserting the clipboard selection and for taking any related actions.

Specifies the Container widget ID.

For a complete definition of Container and its associated resources, see XmContainer(3).

The function returns False if no data transfer takes place. Otherwise, it returns True.

XmContainer(3).