Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmTeGetSD(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmTextGetSource(Xm)            6 January 1993            XmTextGetSource(Xm)


 Name

    XmTextGetSource - a Text function that accesses the source of the widget

 Syntax


    #include <Xm/Text.h>

    XmTextSource XmTextGetSource (widget)
    Widget widget;


 Description

    XmTextGetSource accesses the source of the Text widget. Text widgets can
    share sources of text so that editing in one widget is reflected in
    another. This function accesses the source of one widget so that it can
    be made the source of another widget, using the function
    XmTextSetSource(Xm).

    Setting a new text source destroys the old text source if no other Text
    widgets are using that source.  To replace a text source but keep it for
    later use, create an unmanaged Text widget and set its source to the text
    source you want to keep.

    widget  Specifies the Text widget ID

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

 Return value

    Returns an XmTextSource value that represents the source of the Text
    widget.

 See also

    XmText(Xm)


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