<!-- $XConsortium: StrCrA.sgm /main/8 1996/09/08 21:03:45 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->

<RefEntry Id="CDEMMA.MAN412.rsml.1">
<RefMeta>
<RefEntryTitle>XmStringCreate</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmStringCreate</Function></RefName>
<RefPurpose>A compound string function that creates a compound string
<IndexTerm>
<Primary>XmStringCreate</Primary>
</IndexTerm><IndexTerm>
<Primary>compound string functions</Primary>
<Secondary>XmStringCreate</Secondary>
</IndexTerm></RefPurpose>
</RefNameDiv>
<!-- -->
<!-- @OSF_COPYRIGHT@-->
<!-- COPYRIGHT NOTICE-->
<!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.-->
<!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for-->
<!-- the full copyright text.-->
<!-- -->
<!-- HISTORY-->
<!-- -->
<!-- **-->
<!-- **-->
<!-- **  (c) Copyright 1989, 1990, 1992 by Open Software Foundation, Inc.-->
<!-- **      All Rights Reserved.-->
<!-- **-->
<!-- **  (c) Copyright 1987, 1988, 1989, by Hewlett-Packard Company-->
<!-- **-->
<!-- **  (c) Copyright 1987, 1988 by Digital Equipment Corporation,-->
<!-- **      Maynard, MA.  All Rights Reserved.-->
<!-- **-->
<!-- **-->
<RefSynopsisDiv>
<FuncSynopsis>
<FuncSynopsisInfo>#include &lt;Xm/Xm.h>
</FuncSynopsisInfo>
<FuncDef>XmString <Function>XmStringCreate</Function></FuncDef>
<!--<ParamDef><Replaceable>text, tag</Replaceable></ParamDef>-->
<ParamDef>char *<Parameter>text</Parameter></ParamDef>
<ParamDef>char *<Parameter>tag</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmStringCreate</Function> creates a compound
string with two components: text and a font list element tag.
The function will allocate space to hold the returned compound string.
When the application no longer needs the returned compound string,
the application should call <Function>XmStringFree</Function>.
</Para>
<VariableList>
<VarListEntry>
<Term><Emphasis>text</Emphasis></Term>
<ListItem>
<Para>Specifies a NULL-terminated string to be used as the text component of
the compound string.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Emphasis>tag</Emphasis></Term>
<ListItem>
<Para>Specifies the tag component to be associated with the given
text. The value <SystemItem Class="Resource">XmFONTLIST_DEFAULT_TAG</SystemItem> identifies a locale
text segment.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect1>
<RefSect1>
<Title>RETURN</Title>
<Para>Returns a new compound string.
</Para>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.XmFontList;,
&cdeman.XmFontListAdd;,
&cdeman.XmFontListAppendEntry;,
&cdeman.XmFontListCopy;,
&cdeman.XmFontListCreate;,
&cdeman.XmFontListEntryCreate;,
&cdeman.XmFontListEntryFree;,
&cdeman.XmFontListEntryGetFont;,
&cdeman.XmFontListEntryGetTag;,
&cdeman.XmFontListEntryLoad;,
&cdeman.XmFontListFree;,
&cdeman.XmFontListFreeFontContext;,
&cdeman.XmFontListGetNextFont;,
&cdeman.XmFontListInitFontContext;,
&cdeman.XmFontListNextEntry;,
&cdeman.XmFontListRemoveEntry;,
&cdeman.XmString;,
&cdeman.XmStringBaseline;,
&cdeman.XmStringByteCompare;,
&cdeman.XmStringCompare;,
&cdeman.XmStringConcat;,
&cdeman.XmStringCopy;,
&cdeman.XmStringCreateLocalized;,
&cdeman.XmStringCreateLtoR;,
&cdeman.XmStringCreateSimple;,
&cdeman.XmStringDirection;,
&cdeman.XmStringDirectionCreate;,
&cdeman.XmStringDraw;,
&cdeman.XmStringDrawImage;,
&cdeman.XmStringDrawUnderline;,
&cdeman.XmStringEmpty;,
&cdeman.XmStringExtent;,
&cdeman.XmStringFree;,
&cdeman.XmStringFreeContext;,
&cdeman.XmStringGetLtoR;,
&cdeman.XmStringGetNextComponent;,
&cdeman.XmStringGetNextSegment;,
&cdeman.XmStringHasSubstring;,
&cdeman.XmStringHeight;,
&cdeman.XmStringInitContext;,
&cdeman.XmStringLength;,
&cdeman.XmStringLineCount;,
&cdeman.XmStringNConcat;,
&cdeman.XmStringNCopy;,
&cdeman.XmStringPeekNextComponent;,
&cdeman.XmStringSegmentCreate;,
&cdeman.XmStringSeparatorCreate;,
&cdeman.XmStringTable;, and
&cdeman.XmStringWidth;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
