<!-- $XConsortium: AddTabGr.sgm /main/9 1996/09/08 20:24:23 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.MAN37.rsml.1">
<RefMeta>
<RefEntryTitle>XmAddTabGroup</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmAddTabGroup</Function></RefName>
<RefPurpose>A function that adds a manager or a primitive
widget to the list of tab groups
<IndexTerm>
<Primary>XmAddTabGroup</Primary>
</IndexTerm><IndexTerm>
<Primary>VendorShell functions</Primary>
<Secondary>XmAddTabGroup</Secondary>
</IndexTerm><IndexTerm>
<Primary>protocols</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-->
<!-- -->
<!-- **-->
<!-- **-->
<!-- **  (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>void <Function>XmAddTabGroup</Function></FuncDef>
<!--<ParamDef><Replaceable>tab_group</Replaceable></ParamDef>-->
<ParamDef>Widget <Parameter>tab_group</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para>This function is obsolete and its behavior is replaced by setting
<SystemItem Class="Resource">XmNnavigationType</SystemItem> to <SystemItem Class="Constant">XmEXCLUSIVE_TAB_GROUP</SystemItem>.
When the keyboard is used to traverse through a widget hierarchy, primitive
or manager
widgets are grouped together into what are known as <Literal>tab groups</Literal>. Any
manager or primitive widget can be a tab group. Within
a tab group, move the focus to the next widget in the tab
group by using the arrow keys. To move to another tab group, use
<Literal>KNextField</Literal> or <Literal>KPrevField</Literal>.
</Para>
<Para>Tab groups are ordinarily specified by the <SystemItem Class="Resource">XmNnavigationType</SystemItem>
resource.
<Function>XmAddTabGroup</Function> is called to control the order of traversal of tab
groups. The widget specified
by <Symbol Role="Variable">tab_group</Symbol> is appended to the list of tab
groups to be traversed, and the widget's <SystemItem Class="Resource">XmNnavigationType</SystemItem> is set
to <SystemItem Class="Constant">XmEXCLUSIVE_TAB_GROUP</SystemItem>.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">tab_group</Symbol></Term>
<ListItem>
<Para>Specifies the manager or primitive widget ID
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.XmManager;,
&cdeman.XmGetTabGroup;,
&cdeman.XmPrimitive;, and
&cdeman.XmRemoveTabGroup;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
