Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DXmCSTextGetSelectionInfo(3X)

NAME

DXmCSTextGetSelectionInfo − Retrieves (returns) the left and right positions of the currently selected text. 

SYNOPSIS

Boolean DXmCSTextGetSelectionInfo (widget, left, right)
         Widget             widget;
         DXmCSTextPosition  *left;
         DXmCSTextPosition  *right;

PARAMETERS

The identifier (widget ID) of the compound string text widget.  The left logical position corresponding to the selected text.  The right logical position corresponding to the selected text. 

DESCRIPTION

The DXmCSTextGetSelectionInfo routine, when True, returns the left and right logical positions corresponding to the currently selected (highlighted) text.  If no text is selected, this routine returns False. 

RETURN VALUES

A Boolean value that, when False, indicates that there is no currently selected text; otherwise, the value is True. 

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