Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XmText(3X)

XmTextPaste(3X)  —  Subroutines

NAME

XmTextPaste − a Text function that inserts the clipboard selection

SYNOPSIS

#include <Xm/Text.h> Boolean XmTextPaste (widget)
Widgetwidget;

DESCRIPTION

XmTextPaste inserts the clipboard selection at the destination cursor.  If XmNpendingDelete is True and the destination cursor is inside the current selection, the clipboard selection replaces the selected text.  This routine also calls the widget’s XmNmodifyVerifyCallback and XmNvalueChangedCallback callbacks if there is a clipboard selection. 

widgetSpecifies the Text widget ID. 

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

RETURN VALUE

This function returns False if the widget doesn’t own the primary selection.  Otherwise, it returns True. 

RELATED INFORMATION

XmText(3X). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026