1XmStringInitContext(library call) XmStringInitContext(library call)
2
3
4
6 XmStringInitContext — A compound string function that creates a data
7 structure for scanning an XmString component by component
8
10 #include <Xm/Xm.h>
11 Boolean XmStringInitContext(
12 XmStringContext * context,
13 XmString string);
14
16 XmStringInitContext creates a context to allow applications to read out
17 the contents of a compound string component by component. A Boolean
18 status is returned to indicate that the context could not be inital‐
19 ized.
20
21 If the function returns True, the function will allocate space to hold
22 the returned context. The application is responsible for managing the
23 allocated space. The memory can be recovered by calling
24 XmStringFreeContext.
25
26 context Specifies a pointer to the allocated context
27
28 string Specifies the string
29
31 Returns True if the context was allocated
32
34 XmStringCreate(3).
35
36
37
38 XmStringInitContext(library call)