<!-- $XConsortium: TabSetV.sgm /main/8 1996/09/08 21:09:44 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.MAN465.rsml.1">
<RefMeta>
<RefEntryTitle>XmTabSetValue</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmTabSetValue</Function></RefName>
<RefPurpose>A convenience function that sets a tab stop
<IndexTerm>
<Primary>XmTabSetValue</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>void <Function>XmTabSetValue</Function></FuncDef>
<!--<ParamDef><Replaceable>tab, value</Replaceable></ParamDef>-->
<ParamDef>XmTab <Parameter>tab</Parameter></ParamDef>
<ParamDef>float <Parameter>value</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmTabSetValue</Function> sets the <Symbol Role="Variable">value</Symbol> field of the <StructName Role="typedef">XmTab</StructName>
structure associated with <Symbol Role="Variable">tab</Symbol>.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">tab</Symbol></Term>
<ListItem>
<Para>Specifies the tab to set the value of.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">value</Symbol></Term>
<ListItem>
<Para>Specifies the floating point number which 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 depends on the tab's unit type.
Note that negative values are not permitted, and that if a tab stop
would cause text to overlap, the x position for the segment is set
immediately after the end of the previous segment.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>See also the &MotifProgGd; for more information about tabs
and tab lists.
&cdeman.XmTab;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
