<!-- $XConsortium: ScrollBC.sgm /main/9 1996/09/08 21:01:00 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.MAN387.rsml.1">
<RefMeta>
<RefEntryTitle>XmScrollBarSetValues</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmScrollBarSetValues</Function></RefName>
<RefPurpose>A ScrollBar function that changes ScrollBar's increment values and the slider's size and position
<IndexTerm>
<Primary>XmScrollBarSetValues</Primary>
</IndexTerm><IndexTerm>
<Primary>ScrollBar functions</Primary>
<Secondary>XmScrollBarSetValues</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/ScrollBar.h>
void XmScrollBarSetValues (<Replaceable>widget, value, slider_size, increment, page_increment,
notify</Replaceable>)
        Widget  <Replaceable>widget</Replaceable>;
        int     <Replaceable>value</Replaceable>;
        int     <Replaceable>slider_size</Replaceable>;
        int     <Replaceable>increment</Replaceable>;
        int     <Replaceable>page_increment</Replaceable>;
        Boolean <Replaceable>notify</Replaceable>;
</FuncSynopsisInfo>
<FuncDef></FuncDef>
<void>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Symbol>XmSetScrollBarValues</Symbol> changes the ScrollBar's increment values and the
slider's size and position.
The scroll region is overlaid with a
slider bar that is adjusted in size and position using the main ScrollBar or
set slider function attributes.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">widget</Symbol></Term>
<ListItem>
<Para>Specifies the ScrollBar widget ID.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">value</Symbol></Term>
<ListItem>
<Para>Specifies the ScrollBar's slider
position. Refer to the <SystemItem Class="Resource">XmNvalue</SystemItem> resource described on
&cdeman.XmScrollBar;.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">slider_size</Symbol></Term>
<ListItem>
<Para>Specifies the size of the
slider. Refer to the <SystemItem Class="Resource">XmNsliderSize</SystemItem> resource described on
&cdeman.XmScrollBar;. This argument sets that resource.
Specify a
value of 0 (zero) if you do not want to change the value.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">increment</Symbol></Term>
<ListItem>
<Para>Specifies the amount of button increment and decrement.
Refer to the <SystemItem Class="Resource">XmNincrement</SystemItem> resource described on
&cdeman.XmScrollBar;. This argument sets that resource.
Specify a
value of 0 (zero) if you do not want to change the value.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">page_increment</Symbol></Term>
<ListItem>
<Para>Specifies the amount of page increment and decrement.
Refer to the <SystemItem Class="Resource">XmNpageIncrement</SystemItem> resource described on
&cdeman.XmScrollBar;. This argument sets that resource.
Specify a
value of 0 (zero) if you do not want to change the value.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">notify</Symbol></Term>
<ListItem>
<Para>Specifies a Boolean value that, when True, indicates a change in
the ScrollBar value and also specifies that the ScrollBar widget
automatically activates
the <SystemItem Class="Resource">XmNvalueChangedCallback</SystemItem> with the recent change.
If it is set to False,
it specifies any change that has occurred in the ScrollBar's value, but
does not activate <SystemItem Class="Resource">XmNvalueChangedCallback</SystemItem>.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
<Para>For a complete definition of ScrollBar and its associated resources, see
&cdeman.XmScrollBar;.
</Para>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.XmScrollBar;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
