Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmstringcreatelocalized(3) [redhat man page]

XmStringCreateLocalized(library call)									     XmStringCreateLocalized(library call)

NAME
XmStringCreateLocalized -- A compound string function that creates a compound string in the current locale SYNOPSIS
#include <Xm/Xm.h> XmString XmStringCreateLocalized( char *text); DESCRIPTION
XmStringCreateLocalized creates a compound string containing the specified text in the current language environment. An identical compound string would result from the function XmStringCreate called with XmFONTLIST_DEFAULT_TAG explicitly as the tag component. The function will allocate space to hold the returned compound string. The application is responsible for managing the allocated space. The application can recover the allocated space by calling XmStringFree. text Specifies a NULL-terminated string of text encoded in the current language environment to be used as the text component of the compound string RETURN
Returns a new compound string. RELATED
XmStringCreate(3). XmStringCreateLocalized(library call)

Check Out this Related Man Page

XmStringByteCompare(library call)										 XmStringByteCompare(library call)

NAME
XmStringByteCompare -- A compound string function that indicates the results of a byte-by-byte comparison SYNOPSIS
#include <Xm/Xm.h> Boolean XmStringByteCompare( XmString s1, XmString s2); DESCRIPTION
This function is obsolete and exists for compatibility with previous releases. XmStringByteCompare returns a Boolean indicating the results of a byte-by-byte comparison of two compound strings. In general, if two compound strings are created with the same (char *) string using XmStringCreateLocalized in the same language environ- ment, the compound strings compare as equal. If two compound strings are created with the same (char *) string and the same font list ele- ment tag set other than XmFONTLIST_DEFAULT_TAG using XmStringCreate, the strings compare as equal. In some cases, once a compound string is put into a widget, that string is converted into an internal form to allow faster processing. Part of the conversion process strips out unnecessary or redundant information. If an application then does an XtGetValues to retrieve a com- pound string from a widget (specifically, Label and all of its subclasses), it is not guaranteed that the compound string returned is byte- for-byte the same as the string given to the widget originally. s1 Specifies a compound string to be compared with s2 s2 Specifies a compound string to be compared with s1 RETURN
Returns True if two compound strings are identical byte-by-byte. RELATED
XmStringCreate(3) and XmStringCreateLocalized(3). XmStringByteCompare(library call)
Man Page