Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmTeSetSC(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmTextSetString(Xm)            6 January 1993            XmTextSetString(Xm)


 Name

    XmTextSetString - a Text function that sets the string value

 Syntax


    #include <Xm/Text.h>

    void XmTextSetString (widget, value)
    Widget widget;
    char * value;


 Description

    XmTextSetString sets the string value of the Text widget.  This routine
    calls the widget's XmNvalueChangedCallback and verification callbacks,
    either XmNmodifyVerifyCallback or XmNmodifyVerifyCallbackWcs, or both. If
    both verification callback lists are registered, the procedures of the
    XmNmodifyVerifyCallback list are executed first and the resulting data is
    passed to the XmNmodifyVerifyCallbackWcs callbacks.  It also sets the
    insertion cursor position to the beginning of the string and calls the
    widget's XmNmotionVerifyCallback callbacks.

    widget  Specifies the Text widget ID

    value   Specifies the character pointer to the string value and places
            the string into the text edit window.

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

 See also

    XmText(Xm) and XmTextSetStringWcs(Xm).


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