1XmStringGetLtoR(library call) XmStringGetLtoR(library call)
2
3
4
6 XmStringGetLtoR — A compound string function that searches for a text
7 segment in the input compound string
8
10 #include <Xm/Xm.h>
11 Boolean XmStringGetLtoR(
12 XmString string,
13 XmStringCharSet tag,
14 char **text);
15
17 This function is obsolete and exists for compatibility with previous
18 releases. It is replaced by XmStringUnparse. XmStringGetLtoR returns
19 the first text component in the input compound string that is tagged
20 with the given tag component. The returned text is to be a NULL-termi‐
21 nated sequence of single byte characters. If the function returns
22 True, the function will allocate space to hold the returned text. The
23 application is responsible for managing the allocated space. The appli‐
24 cation can recover the allocated space by calling XtFree.
25
26 string Specifies the compound string.
27
28 tag Specifies the font list element tag associated with the text.
29 A value of XmFONTLIST_DEFAULT_TAG identifies a locale text
30 segment.
31
32 text Specifies a pointer to a NULL terminated string.
33
35 Returns True if the matching text segment can be found. On return,
36 text will have a NULL terminated byte sequence containing the matched
37 segment.
38
40 XmStringCreate(3).
41
42
43
44 XmStringGetLtoR(library call)