Unix and Linux Discussions Tagged with source |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
12 |
5,591 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
3,156 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,965 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
6,172 |
Programming |
|
|
|
4 |
5,106 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
3,767 |
Web Development |
|
|
|
3 |
1,472 |
Shell Programming and Scripting |
|
|
|
4 |
3,660 |
Windows & DOS: Issues & Discussions |
|
|
|
5 |
7,883 |
Solaris |
|
|
|
1 |
3,932 |
Red Hat |
|
|
|
1 |
3,872 |
Shell Programming and Scripting |
|
|
|
1 |
10,157 |
UNIX Desktop Questions & Answers |
|
|
|
3 |
6,767 |
Red Hat |
|
|
|
6 |
26,507 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
10,625 |
Programming |
|
|
|
6 |
4,808 |
Shell Programming and Scripting |
|
|
|
0 |
3,052 |
Solaris BigAdmin RSS |
|
|
|
0 |
1,229 |
Software Releases - RSS News |
|
|
|
0 |
2,381 |
UNIX and Linux RSS News |
|
|
|
0 |
1,103 |
Software Releases - RSS News |
|
|
|
0 |
1,603 |
UNIX and Linux RSS News |
|
|
|
0 |
1,203 |
UNIX and Linux RSS News |
|
|
|
0 |
1,097 |
Software Releases - RSS News |
|
|
|
0 |
1,012 |
Software Releases - RSS News |
|
|
|
0 |
2,175 |
UNIX and Linux RSS News |
|
|
|
0 |
1,041 |
Software Releases - RSS News |
|
|
|
0 |
1,862 |
UNIX and Linux RSS News |
|
|
|
0 |
1,305 |
UNIX and Linux RSS News |
|
|
|
0 |
1,577 |
Solaris BigAdmin RSS |
|
|
|
1 |
3,704 |
UNIX and Linux RSS News |
|
|
|
0 |
6,272 |
OS X OpenSource RSS |
|
|
|
1 |
6,541 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,418 |
Complex Event Processing RSS News |
|
|
|
0 |
2,603 |
Programming |
|
|
|
0 |
1,536 |
UNIX and Linux RSS News |
|
|
|
0 |
1,042 |
Software Releases - RSS News |
|
|
|
0 |
2,198 |
Software Releases - RSS News |
|
|
|
4 |
6,057 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,261 |
Red Hat |
|
|
|
0 |
1,844 |
Red Hat |
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)