1XmStringCreateSimple(library call) XmStringCreateSimple(library call)
2
3
4
6 XmStringCreateSimple — A compound string function that creates a com‐
7 pound string in the language environment of a widget
8
10 #include <Xm/Xm.h>
11 XmString XmStringCreateSimple(
12 char * text);
13
15 XmStringCreateSimple creates a compound string with a text component
16 and a charset tag. It derives the character set from the current lan‐
17 guage environment.
18
19 The routine attempts to derive a character set from the value of the
20 LANG environment variable. If this does not result in a valid charac‐
21 ter set, the routine uses a vendor-specific default. If the vendor has
22 not specified a different value, this default is ISO8859-1.
23
24 The function will allocate space to hold the returned compound string.
25 The application is responsible for managing the allocated space. The
26 application can recover the allocated space by calling XmStringFree.
27
28 NOTE: This routine is obsolete and exists for compatibility with previ‐
29 ous releases. It has been replaced by XmStringCreateLocalized.
30
31 text Specifies a NULL-terminated string to be used as the text
32 component of the compound string.
33
35 Returns a new compound string.
36
38 XmStringCreate(3) and XmStringCreateLocalized(3).
39
40
41
42 XmStringCreateSimple(library call)