<!-- $XConsortium: RendTaG.sgm /main/9 1996/09/08 20:57:36 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.MAN360.rsml.1">
<RefMeta>
<RefEntryTitle>XmRenderTableGetRendition</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmRenderTableGetRendition</Function></RefName>
<RefPurpose>A convenience function that matches a rendition tag
<IndexTerm>
<Primary>XmRenderTableGetRendition</Primary>
</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-->
<RefSynopsisDiv>
<FuncSynopsis>
<FuncSynopsisInfo>#include &lt;Xm/Xm.h>
</FuncSynopsisInfo>
<FuncDef>XmRendition <Function>XmRenderTableGetRendition</Function></FuncDef>
<!--<ParamDef><Replaceable>table, tag</Replaceable></ParamDef>-->
<ParamDef>XmRenderTable <Parameter>table</Parameter></ParamDef>
<ParamDef>XmStringTag <Parameter>tag</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmRenderTableGetRendition</Function> searches <Symbol Role="Variable">table</Symbol> and returns a
copy of the rendition whose <SystemItem Class="Resource">XmNtag</SystemItem> resource matches <Emphasis>tag</Emphasis>.
If no rendition matches, then NULL is returned. This function is to
be used for just one rendition match.
</Para>
<Para>It is the responsibility of the caller to free the returned rendition
with the <Function>XmRenditionFree</Function> function.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">table</Symbol></Term>
<ListItem>
<Para>Specifies the table containing renditions to be searched.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Emphasis>tag</Emphasis></Term>
<ListItem>
<Para>Specifies the tag to search for.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect1>
<RefSect1>
<Title>RETURN</Title>
<Para>Returns NULL if there is no match; otherwise, this function returns a
new <StructName Role="typedef">XmRendition</StructName>.
</Para>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.XmRenderTableGetRenditions;,
&cdeman.XmRenderTableGetTags;, and
&cdeman.XmRendition;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
