DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

XmStringCreateSimple(Xm)


XmStringCreateSimple -- a compound string function that creates a compound string in the language environment of a widget

Syntax

#include <Xm/Xm.h>

XmString XmStringCreateSimple (text) char * text;

Description

XmStringCreateSimple creates a compound string with two components: text and a character set. It derives the character set from the current language environment.

The routine attempts to derive a character set from the value of the LANG environment variable. If this does not result in a valid character set, the routine uses a vendor-specific default. If the vendor has not specified a different value, this default is ISO8859-1.


NOTE: This routine is obsolete and exists for compatibility with previous releases. It has been replaced by XmStringCreateLocalized.


text
Specifies a null-terminated string to be used as the text component of the compound string.

Return value

Returns a new compound string.

See also

XmStringCreate(Xm) and XmStringCreateLocalized(Xm).
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005