*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: DXmCSTextReplace | Section: 3 | Source: Digital UNIX | File: DXmCSTextReplace.3X.gz
DXmCSTextReplace(3X) DXmCSTextReplace(3X) NAME DXmCSTextReplace - Replaces a specified segment of text in a compound string text widget. SYNOPSIS DXmCSTextStatus DXmCSTextReplace(widget, from_pos, to_pos, value) Widget widget; int from_pos; int to_pos; XmString value; PARAMETERS The identifier (widget ID) of the compound string text widget. An in- teger that represents the first character position of the text being replaced. An integer that represents the last character position of the text being replaced. Replacement text for part of the current text in the compound string text widget, or additional text to be inserted into the compound string text widget. DESCRIPTION The DXmCSTextReplace routine replaces part of the text in the compound string text widget. Within the widget, positions are numbered starting at 0 and increasing sequentially. For example, to replace the second and third characters in the text, from_pos should be 1 and to_pos should be 3. To insert text after the fourth character, from_pos and to_pos should both be 4. RETURN VALUES A value that represents the status (success or failure) of the replace operation, as follows: tab(@); lfHB lfHB l l . _ Value@Description _ DXmCSTextStatusEditDone@Text replaced successfully. DXmCSTextStatusEditError@Text not replaced (failure). _ RELATED INFORMATION DXmCreateCSText(3X), DXmCSTextSetString(3X), DXmCSTextGetString(3X) de- lim off DXmCSTextReplace(3X)

Navigation Options