DOKK / manpages / debian 12 / libmotif-dev / XmContainerCopy.3.en
XmContainerCopy(3) Library Functions Manual XmContainerCopy(3)

XmContainerCopy — Container widget function to copy primary selection to the clipboard "XmContainerCopy" "XmContainer"

#include <Xm/Container.h>
Boolean XmContainerCopy(
Widget container,
Time timestamp);

XmContainerCopy copies the primary selected container items to the clipboard. This routine calls the XmNconvertCallback procedures, possibly multiple times, with the selection member of the XmConvertCallbackStruct set to CLIPBOARD and with the parm member set to XmCOPY.

Specifies the Container widget ID.
Specifies the server time at which to modify the selection value.

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

The function returns False in the following cases: if the primary selection is NULL, if the widget does not own the primary selection, or if the function is unable to gain ownership of the clipboard selection. Otherwise, it returns True.

XmContainer(3).