XmTextSetTopCharacter(3) | Library Functions Manual | XmTextSetTopCharacter(3) |
XmTextSetTopCharacter — A Text function that sets the position of the first character displayed "XmTextSetTopCharacter" "Text functions" "XmTextSetTopCharacter"
#include <Xm/Text.h> void XmTextSetTopCharacter( Widget widget, XmTextPosition top_character);
XmTextSetTopCharacter sets the position of the text at the top of the Text widget. If the XmNeditMode is XmMULTI_LINE_EDIT, the line of text that contains top_character is displayed at the top of the widget without the text shifting left or right. If the edit mode is XmSINGLE_LINE_EDIT, the text moves horizontally so that top_character is the first character displayed.
For a complete definition of Text and its associated resources, see XmText(3).