XmMapSegmentEncoding(X3mot)


XmMapSegmentEncoding -- a compound string function that returns the compound text encoding format associated with the specified font list tag

Synopsis

#include <Xm/Xm.h>

char * XmMapSegmentEncoding (fontlist_tag) char *fontlist_tag;

Description

XmMapSegmentEncoding searches the segment encoding registry for an entry that matches the specified font list tag and returns a copy of the associated compound text encoding format. The application is responsible for freeing the storage associated with the returned data by calling XtFree.

fontlist_tag
Specifies the compound string font list tag.

Return values

Returns a copy of the associated compound text encoding format if the font list tag is found in the registry; otherwise, returns NULL.

References

XmCvtXmStringToCT(X3mot), XmFontList(X3mot), XmRegisterSegmentEncoding(X3mot) and XmString(X3mot).
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004