Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmScroBaB(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmScrollBarGetValues(Xm)       6 January 1993       XmScrollBarGetValues(Xm)


 Name

    XmScrollBarGetValues - a ScrollBar function that returns the ScrollBar's
    increment values

 Syntax


    #include <Xm/ScrollBar.h>

    void XmScrollBarGetValues (widget, value_return,
                               slider_size_return, increment_return,
                               page_increment_return)
    Widget widget;
    int * value_return;
    int * slider_size_return;
    int * increment_return;
    int * page_increment_return;


 Description

    XmScrollBarGetValues returns the the ScrollBar's increment values.  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.

    widget  Specifies the ScrollBar widget ID.

    valuereturn
            Returns the ScrollBar's slider position between the XmNminimum
            and XmNmaximum resources.

    slidersizereturn
            Returns the size of the slider as a value between zero and the
            absolute value of XmNmaximum minus XmNminimum. The size of the
            slider varies, depending on how much of the slider scroll area it
            represents.

    incrementreturn
            Returns the amount of increment and decrement.

    pageincrementreturn
            Returns the amount of page increment and decrement.

    For a complete definition of ScrollBar and its associated resources, see
    XmScrollBar(Xm).

 Return value

    Returns the ScrollBar's increment values.

 See also

    XmScrollBar(Xm)


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