<!-- $XConsortium: TabGetV.sgm /main/8 1996/09/08 21:08:39 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.MAN456.rsml.1">
<RefMeta>
<RefEntryTitle>XmTabGetValues</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmTabGetValues</Function></RefName>
<RefPurpose>A convenience function that returns tab values
<IndexTerm>
<Primary>XmTabGetValues</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>float <Function>XmTabGetValues</Function></FuncDef>
<!--<ParamDef><Replaceable>tab, units, offset, alignment, decimal</Replaceable></ParamDef>-->
<ParamDef>XmTab <Parameter>tab</Parameter></ParamDef>
<ParamDef>unsigned char <Parameter>*units</Parameter></ParamDef>
<ParamDef>XmOffsetModel <Parameter>*offset</Parameter></ParamDef>
<ParamDef>unsigned char <Parameter>*alignment</Parameter></ParamDef>
<ParamDef>char <Parameter>**decimal</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmTabGetValues</Function> takes an <StructName Role="typedef">XmTab</StructName> structure, returns the
floating point number that is set as the value of the tab, and then
sets values for the <Symbol Role="Variable">units</Symbol>, <Symbol Role="Variable">offset</Symbol>, <Symbol Role="Variable">alignment</Symbol>, and
<Symbol Role="Variable">decimal</Symbol> arguments where they are not NULL. The returned floating
point number represents the distance that the rendering of the
<StructName Role="typedef">XmString</StructName> segment associated with <Symbol Role="Variable">tab</Symbol> will be offset. The
offset is from either the
beginning of the rendering or from the previous tab stop, depending on
the setting for the <Symbol Role="Variable">offset</Symbol> model. The
distance will use the unit type pointed at by <Symbol Role="Variable">unit</Symbol>.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">tab</Symbol></Term>
<ListItem>
<Para>Specifies the tab to get the value from.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">units</Symbol></Term>
<ListItem>
<Para>Specifies a pointer to the unit type.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">offset</Symbol></Term>
<ListItem>
<Para>Specifies a pointer to the offset model.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">alignment</Symbol></Term>
<ListItem>
<Para>Specifies a pointer to the alignment type.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">decimal</Symbol></Term>
<ListItem>
<Para>Specifies a pointer to the multibyte character used as the decimal point.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect1>
<RefSect1>
<Title>RETURN</Title>
<Para>Returns a floating point number that is set as the value of the tab.
</Para>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.XmTab;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
