1XmStringSegmentCreate(library call) XmStringSegmentCreate(library call)
2
3
4
6 XmStringSegmentCreate — A compound string function that creates a com‐
7 pound string
8
10 #include <Xm/Xm.h>
11 XmString XmStringSegmentCreate(
12 char * text,
13 XmStringTag tag,
14 XmStringDirection direction,
15 Boolean separator);
16
18 This function is obsolete and exists for compatibility with previous
19 releases. It can be replaced by using a combination of XmStringCompo‐
20 nentCreate and XmStringConcat. XmStringSegmentCreate is a high-level
21 function that assembles a compound string consisting of a font list
22 element tag, a direction component, a text component, and an optional
23 separator component.
24
25 The function allocates space for the returned compound string. The
26 application is responsible for managing the allocated space. The
27 application can recover the allocated space by calling XmStringFree.
28
29 text Specifies a NULL-terminated string to be used as the text
30 component of the compound string.
31
32 tag Specifies the tag component to be associated with the text.
33 The value XmFONTLIST_DEFAULT_TAG is for compatibility with
34 previous releases.
35
36 direction Specifies the direction of the text.
37
38 separator A value of False means the compound string does not have a
39 separator at the end. A value of True, means a separator
40 immediately follows the text component.
41
43 Returns a new compound string.
44
46 XmStringCreate(3).
47
48
49
50 XmStringSegmentCreate(library call)