Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmScroVis(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmScrollVisible(Xm)            6 January 1993            XmScrollVisible(Xm)


 Name

    XmScrollVisible - a ScrolledWindow function that makes an invisible
    descendant of a ScrolledWindow work area visible

 Syntax


    #include <Xm/ScrolledW.h>

    void XmScrollVisible (scrollw_widget, widget, left_right_margin,
                          top_bottom_margin)
    Widget scrollw_widget;
    Widget widget;
    Dimension left_right_margin;
    Dimension top_bottom_margin;


 Description

    XmScrollVisible makes an obscured or partially obscured widget or gadget
    descendant of a ScrolledWindow work area visible. The function reposi-
    tions 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 XmNscrollingPolicy of the ScrolledWindow
    widget be set to XmAUTOMATIC.

    scrollwwidget
            Specifies the ID of the ScrolledWindow widget whose work area
            window contains an obscured descendant.

    widget  Specifies the ID of the widget to be made visible.

    leftrightmargin
            Specifies the margin to establish between the left or right edge
            of the widget and the associated edge of the viewport.  This mar-
            gin is established only if the widget must be moved horizontally
            to make it visible.

    topbottommargin
            Specifies the margin to establish between the top or bottom edge
            of the widget and the associated edge of the viewport.  This mar-
            gin is established only if the widget must be moved vertically to
            make it visible.

    For a complete definition of ScrolledWindow and its associated resources,
    see XmScrolledWindow(Xm).

 See also

    XmScrolledWindow(Xm)


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026