DOKK / manpages / debian 11 / libmotif-dev / XmTextPasteLink.3.en
XmTextPasteLink(3) Library Functions Manual XmTextPasteLink(3)

XmTextPasteLink — A Text function that inserts a link to the clipboard selection "XmTextPasteLink" "Text functions" "XmTextPasteLink"

#include <Xm/Text.h>
Boolean XmTextPasteLink(
Widget widget);

XmTextPasteLink inserts a link to the clipboard selection at the insertion cursor. 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 XmLINK. The Text widget itself performs no transfers; the XmNdestinationCallback procedures are responsible for inserting the link to the clipboard selection and for taking any related actions.

Specifies the Text widget ID.

For a complete definition of Text and its associated resources, see XmText(3).

This function returns False if no transfers take place. Otherwise, it returns True.

XmText(3).