XmTextGetSubstringWcs
A Text function that retrieves a portion of a wide character internal text buffer "XmTextGetSubstringWcs" "Text functions" "XmTextGetSubstringWcs"
- Provided by: libmotif-dev (Version: 2.3.4-10)
- Source: motif
- Report a bug
A Text function that retrieves a portion of a wide character internal text buffer "XmTextGetSubstringWcs" "Text functions" "XmTextGetSubstringWcs"
#include <Xm/Text.h> int XmTextGetSubstringWcs( Widget widget, XmTextPosition start, int num_chars, int buffer_size, wchar_t *buffer);
XmTextGetSubstringWcs retrieves a copy of a portion of the internal text buffer of a Text widget that is stored in a wide character format. The function copies a specified number of characters from a given start position in the internal text buffer into a buffer provided by the application. A NULL terminator is placed at the end of the copied data.
For a complete definition of Text and its associated resources, see XmText(3).