<!-- $XConsortium: ScrollVi.sgm /main/10 1996/09/08 21:01:08 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.MAN388.rsml.1">
<RefMeta>
<RefEntryTitle>XmScrollVisible</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmScrollVisible</Function></RefName>
<RefPurpose>A ScrolledWindow function that makes an invisible
 descendant of a ScrolledWindow work area visible
<IndexTerm>
<Primary>XmScrollVisible</Primary>
</IndexTerm><IndexTerm>
<Primary>Scrolled Window functions</Primary>
<Secondary>XmScrollVisible</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>XmScrollVisible</Function></FuncDef>
<!--<ParamDef><Replaceable>scrollw_widget, widget, left_right_margin, top_bottom_margin</Replaceable></ParamDef>-->
<ParamDef>Widget <Parameter>scrollw_widget</Parameter></ParamDef>
<ParamDef>Widget <Parameter>widget</Parameter></ParamDef>
<ParamDef>Dimension <Parameter>left_right_margin</Parameter></ParamDef>
<ParamDef>Dimension <Parameter>top_bottom_margin</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmScrollVisible</Function> makes an obscured or partially obscured
widget or gadget descendant of a ScrolledWindow work area visible. The
function repositions the work area and sets the specified margins
between the widget and the nearest viewport boundary. The widget's
location relative to the viewport determines whether one or both
of the margins must be adjusted. This function requires that
the <SystemItem Class="Resource">XmNscrollingPolicy</SystemItem> of the ScrolledWindow widget be set
to <SystemItem Class="Constant">XmAUTOMATIC</SystemItem>.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">scrollw_widget</Symbol></Term>
<ListItem>
<Para>Specifies the ID of the ScrolledWindow widget whose work area
window contains an obscured descendant.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">widget</Symbol></Term>
<ListItem>
<Para>Specifies the ID of the widget to be made visible.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">left_right_margin</Symbol></Term>
<ListItem>
<Para>Specifies the margin to establish between the left
or right edge of the widget and the associated edge of the
viewport.
This margin is established only if the widget must be moved horizontally
to make it visible.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">top_bottom_margin</Symbol></Term>
<ListItem>
<Para>Specifies the margin to establish between the top
or bottom edge of the widget and the associated edge of the
viewport.
This margin is established only if the widget must be moved vertically
to make it visible.
</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-->
