Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DXmCreateCSText(3X)

DXmCSTextClearSelection(3X)

DXmCSTextGetSelection(3X)

DXmCSTextSetSelection(3X)  —  Subroutines

NAME

DXmCSTextSetSelection − Designates the specified text as the current primary selection by highlighting it in the compound string text widget. 

SYNOPSIS

void DXmCSTextSetSelection(widget, first, last, time)
      Widget  widget;
      DXmCXTextPosition     first;
      DXmCXTextPosition     last;
      Time    time;

PARAMETERS

widgetThe identifier (widget ID) of the compound string text widget. 

firstA value that represents the position of the first character in the text being selected. 

lastA value that represents the position of the last character in the text being selected. 

timeSpecifies the time of the event that generated the call to the DXmCSTextSetSelection routine. 

DESCRIPTION

The DXmCSTextSetSelection routine designates the specified text as the current primary selection by highlighting it in the compound string text widget.  Within the text window, first marks the position of the first character in the text and last marks the last character.  The field characters start at 0 and increase sequentially. 

RELATED INFORMATION

DXmCreateCSText(3X), DXmCSTextClearSelection(3X), DXmCSTextGetSelection(3X)

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