|
NAMEXmTextSetSource — A Text function that sets the source of the widgetSYNOPSIS#include <Xm/Text.h> void XmTextSetSource( Widget widget, XmTextSource source, XmTextPosition top_character, XmTextPosition cursor_position); DESCRIPTIONXmTextSetSource 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.
For a complete definition of Text and its associated resources, see XmText(3). RELATEDXmText(3). Visit the GSP FreeBSD Man Page Interface. |