XmTextFieldCopy(3X)
Prev | Reference Pages | Next

## Name

XmTextFieldCopy(3X) — XmTextFieldCopy--A TextField function that copies the primary selection to the clipboard XmTextFieldCopyTextField functions

## Synopsis

#include <Xm/TextF.h>
Boolean XmTextFieldCopy (`widget, time`)
Widget `widget`;
Time `time`;

## DESCRIPTION

XmTextFieldCopy copies the primary selected text to the clipboard.

`widget` |  | Specifies the TextField widget ID.
`time` |  | Specifies the time at which the selection value is to be modified. This should be the time of the event which triggered this request.

For a complete definition of TextField and its associated resources, see XmTextField(3X).

## RETURN VALUE

This function returns False if the primary selection is NULL, if the `widget` doesn't own the primary selection, or if the function is unable to gain ownership of the clipboard selection. Otherwise, it returns True.

## RELATED INFORMATION

XmTextField(3X).

Prev | Table of Contents | Next
XmTextFieldClearSelection(3X) |  | XmTextFieldCut(3X)