Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmTeSetTo(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmTextSetTopCharacter(Xm)      6 January 1993      XmTextSetTopCharacter(Xm)


 Name

    XmTextSetTopCharacter - a Text function that sets the position of the
    first character displayed

 Syntax


    #include <Xm/Text.h>

    void XmTextSetTopCharacter (widget, top_character)
    Widget widget;
    XmTextPosition top_character;


 Description

    XmTextSetTopCharacter sets the position of the text at the top of the
    Text widget. If the XmNeditMode is XmMULTILINEEDIT, the line of text
    that contains topcharacter is displayed at the top of the widget without
    shifting the text left or right.

    widget  Specifies the Text widget ID.

    topcharacter
            Specifies the position in the text to display at the top of the
            widget.  This is an integer number of characters from the begin-
            ning of the text buffer. The first character position is 0.

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

 See also

    XmText(Xm)


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