<!-- $XConsortium: ScrollB.sgm /main/8 1996/09/08 21:00:33 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.MAN390.rsml.1">
<RefMeta>
<RefEntryTitle>XmScrolledWindowSetAreas</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmScrolledWindowSetAreas</Function></RefName>
<RefPurpose>A ScrolledWindow function that adds or changes a window work region and a horizontal or vertical ScrollBar widget to the ScrolledWindow widget
<IndexTerm>
<Primary>XmScrolledWindowSetAreas</Primary>
</IndexTerm><IndexTerm>
<Primary>ScrolledWindow functions</Primary>
<Secondary>XmScrolledWindowSetAreas</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/ScrolledW.h>
</FuncSynopsisInfo>
<FuncDef>void <Function>XmScrolledWindowSetAreas</Function></FuncDef>
<!--<ParamDef><Replaceable>widget, horizontal_scrollbar, vertical_scrollbar,
work_region</Replaceable></ParamDef>-->
<ParamDef>Widget <Parameter>widget</Parameter></ParamDef>
<ParamDef>Widget <Parameter>horizontal_scrollbar</Parameter></ParamDef>
<ParamDef>Widget <Parameter>vertical_scrollbar</Parameter></ParamDef>
<ParamDef>Widget <Parameter>work_region</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmScrolledWindowSetAreas</Function> adds or changes a window work region and
a horizontal or vertical ScrollBar widget to the ScrolledWindow widget for
the application. Each widget is optional and may be passed as NULL.
This function is obsolete and exists for compatibility with
other releases. Use the <SystemItem Class="Resource">XmNscrolledWindowChildType</SystemItem> resource
of <Classname>XmScrolledWindow</Classname> instead.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">widget</Symbol></Term>
<ListItem>
<Para>Specifies the ScrolledWindow widget ID.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">horizontal_scrollbar</Symbol></Term>
<ListItem>
<Para>Specifies the ScrollBar widget ID for the
horizontal ScrollBar to be associated
with the ScrolledWindow widget. Set this ID only after creating an instance
of the ScrolledWindow widget. The resource name associated with this
argument is <SystemItem Class="Resource">XmNhorizontalScrollBar</SystemItem>.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">vertical_scrollbar</Symbol></Term>
<ListItem>
<Para>Specifies the ScrollBar widget ID for the
vertical ScrollBar to be associated
with the ScrolledWindow widget. Set this ID only after creating an instance
of the ScrolledWindow widget. The resource name associated with this
argument is <SystemItem Class="Resource">XmNverticalScrollBar</SystemItem>.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">work_region</Symbol></Term>
<ListItem>
<Para>Specifies the widget ID for the work window to be associated with the
ScrolledWindow widget. Set this ID only after creating an instance of the
ScrolledWindow widget. The attribute name associated with this argument is
<SystemItem Class="Resource">XmNworkWindow</SystemItem>.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
<Para>For a complete definition of ScrolledWindow and its associated resources, see
&cdeman.XmScrolledWindow;.
</Para>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.XmScrolledWindow;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
