<!-- $XConsortium: TxtFieAU.sgm /main/7 1996/08/30 16:25:31 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->

<RefEntry Id="CDEMMA.MAN494.rsml.1">
<RefMeta>
<RefEntryTitle>XmTextFieldPasteLink</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmTextFieldPasteLink</Function></RefName>
<RefPurpose>A TextField function that inserts a link to the clipboard selection
<IndexTerm>
<Primary>XmTextFieldPasteLink</Primary>
</IndexTerm><IndexTerm>
<Primary>TextField functions</Primary>
<Secondary>XmTextFieldPasteLink</Secondary>
</IndexTerm></RefPurpose>
</RefNameDiv>
<!-- -->
<!-- @OSF_COPYRIGHT@-->
<!-- COPYRIGHT NOTICE-->
<!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.-->
<!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for-->
<!-- the full copyright text.-->
<!-- -->
<!-- HISTORY-->
<!-- -->
<RefSynopsisDiv>
<FuncSynopsis>
<FuncSynopsisInfo>#include &lt;Xm/TextF.h>
</FuncSynopsisInfo>
<FuncDef>Boolean <Function>XmTextFieldPasteLink</Function></FuncDef>
<!--<ParamDef><Replaceable>widget</Replaceable></ParamDef>-->
<ParamDef>Widget <Parameter>widget</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmTextFieldPasteLink</Function> inserts a link to the clipboard selection at
the insertion cursor.
This routine calls the widget's <SystemItem Class="Resource">XmNdestinationCallback</SystemItem> procedures
with the <Symbol Role="Variable">selection</Symbol> member of the <StructName Role="typedef">XmDestinationCallbackStruct</StructName>
set to <Symbol Role="Define">CLIPBOARD</Symbol> and with the <Symbol Role="Variable">operation</Symbol> member set to
<SystemItem Class="Constant">XmLINK</SystemItem>.
The TextField widget itself performs no transfers; the
<SystemItem Class="Resource">XmNdestinationCallback</SystemItem> procedures are responsible for inserting
the link to the clipboard selection and for taking any related actions.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">widget</Symbol></Term>
<ListItem>
<Para>Specifies the TextField widget ID.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
<Para>For a complete definition of TextField and its associated resources, see
&cdeman.XmTextField;.
</Para>
</RefSect1>
<RefSect1>
<Title>RETURN</Title>
<Para>This function returns False if no transfers take place.
Otherwise, it returns True.
</Para>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.XmTextField;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
