1XmStringCreateLtoR(library call) XmStringCreateLtoR(library call)
2
3
4
6 XmStringCreateLtoR — A compound string function that creates a compound
7 string
8
10 #include <Xm/Xm.h>
11 XmString XmStringCreateLtoR(
12 char *text,
13 char *tag);
14
16 This function is obsolete and exists for compatibility with previous
17 releases. It is replaced by XmStringGenerate. XmStringCreateLtoR cre‐
18 ates a compound string with two components: text and a tag component.
19 This function scans for \n characters in the text. When one is found,
20 the text up to that point is put into a segment followed by a separator
21 component. No final separator component is appended to the end of the
22 compound string. The direction component defaults to left-to-right.
23 This function assumes that the encoding is single byte rather than
24 multibyte.
25
26 The function will allocate space to hold the returned compound string.
27 The application is responsible for managing the allocated space. The
28 application can recover the allocated space by calling XmStringFree.
29
30 text Specifies a NULL-terminated string to be used as the text
31 component of the compound string.
32
33 tag Specifies the tag component to be associated with the given
34 text. The value XmFONTLIST_DEFAULT_TAG is retained for com‐
35 patibility with previous releases.
36
38 Returns a new compound string.
39
41 XmStringCreate(3) and XmStringGenerate(3).
42
43
44
45 XmStringCreateLtoR(library call)