<!-- $XConsortium: ToggleBF.sgm /main/8 1996/09/08 21:10:50 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.MAN552.rsml.1">
<RefMeta>
<RefEntryTitle>XmToggleButtonSetState</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmToggleButtonSetState</Function></RefName>
<RefPurpose>A ToggleButton function that sets or changes the current state
<IndexTerm>
<Primary>XmToggleButtonSetState</Primary>
</IndexTerm><IndexTerm>
<Primary>ToggleButton functions</Primary>
<Secondary>XmToggleButtonSetState</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/ToggleB.h>
</FuncSynopsisInfo>
<FuncDef>void <Function>XmToggleButtonSetState</Function></FuncDef>
<!--<ParamDef><Replaceable>widget, state, notify</Replaceable></ParamDef>-->
<ParamDef>Widget <Parameter>widget</Parameter></ParamDef>
<ParamDef>Boolean <Parameter>state</Parameter></ParamDef>
<ParamDef>Boolean <Parameter>notify</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmToggleButtonSetState</Function> sets or changes the ToggleButton's current state.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">widget</Symbol></Term>
<ListItem>
<Para>Specifies the ToggleButton widget ID.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">state</Symbol></Term>
<ListItem>
<Para>Specifies a Boolean value that indicates whether the ToggleButton state is
selected or unselected. If the value is True, the button state is selected;
if it is False, the button state is unselected.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">notify</Symbol></Term>
<ListItem>
<Para>Indicates whether <SystemItem Class="Resource">XmNvalueChangedCallback</SystemItem> is called;
it can be either True or False.
The <SystemItem Class="Resource">XmNvalueChangedCallback</SystemItem> is only called when this function
changes the state of the ToggleButton.
When this argument is True and the ToggleButton is a child of a
RowColumn widget whose <SystemItem Class="Resource">XmNradioBehavior</SystemItem> is True, setting the
ToggleButton causes other ToggleButton and ToggleButtonGadget
children of the RowColumn to be unselected.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
<Para>For a complete definition of ToggleButton and
its associated resources, see &cdeman.XmToggleButton;.
</Para>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.XmToggleButton;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
