Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmtextsettopcharacter(3x) [osf1 man page]

XmTextSetTopCharacter(3X)												 XmTextSetTopCharacter(3X)

NAME
XmTextSetTopCharacter - A Text function that sets the position of the first character displayed SYNOPSIS
#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 XmMULTI_LINE_EDIT, the line of text that contains top_character is displayed at the top of the widget without shifting the text left or right. Specifies the Text widget ID Specifies the position in the text to display at the top of the widget. This is an integer number of characters from the beginning of the text buffer. The first character position is 0. For a complete definition of Text and its associated resources, see XmText(3X). SEE ALSO
XmText(3X) XmTextSetTopCharacter(3X)

Check Out this Related Man Page

XmTextSetSource(3X)													       XmTextSetSource(3X)

NAME
XmTextSetSource - A Text function that sets the source of the widget SYNOPSIS
#include <Xm/Text.h> void XmTextSetSource (widget, source, top_character, cursor_position) Widget widget; XmTextSource source; XmTextPosition top_character; XmTextPosition cursor_position; DESCRIPTION
XmTextSetSource sets 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 sets the source of one widget so that it can share the source of another widget. 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. Specifies the Text widget ID Speci- fies the source with which the widget displays text. This can be a value returned by the XmTextGetSource(3X) function. If no source is specified, the widget creates a default string source. Specifies the position in the text to display at the top of the widget. This is an integer number of characters from the beginning of the text buffer. The first character position is 0. Specifies the position in the text at which the insert cursor is located. This is an integer number of characters from the beginning of the text buffer. The first character position is 0. For a complete definition of Text and its associated resources, see XmText(3X). SEE ALSO
XmText(3X) XmTextSetSource(3X)
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

Hi Folks, Today hasn't been the best one of my career in IT. I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them. At the... (3 Replies)
Discussion started by: gull04
3 Replies