Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — MultiPersonal System R32V2

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     XmScrollBarSetValues(3Xm)          XmScrollBarSetValues(3Xm)



     NAME
          XmScrollBarSetValues - a ScrollBar function that
          changes ScrollBar's increment values and the slider's
          size and position.


     AES SUPPORT LEVEL
          full-use

     SYNOPSIS
          #include <Xm/ScrollBar.h>

          void XmScrollBarSetValues (widget, value, slider_size,
          increment, page_increment, notify)
               Widget    widget;
               int       value;
               int       slider_size;
               int       increment;
               int       page_increment;
               Boolean   notify;


     DESCRIPTION
          XmSetScrollBarValues 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.


          widget      Specifies the ScrollBar widget ID.

          value       Specifies the ScrollBar's slider position
                      between XmNminimum and XmNmaximum.  The
                      resource name associated with this argument
                      is XmNvalue.

          slider_size Specifies 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.  This
                      sets the XmNsliderSize resource associated
                      with ScrollBar.

          increment   Specifies the amount of button increment
                      and decrement.  If this argument is not
                      zero, the ScrollBar widget automatically
                      adjusts the slider when an increment or
                      decrement action occurs.  This sets the
                      XmNincrement resource associated with
                      ScrollBar.



                                - 1 -





     XmScrollBarSetValues(3Xm)          XmScrollBarSetValues(3Xm)



          page_increment
                      Specifies the amount of page increment and
                      decrement.  If this argument is not zero,
                      the ScrollBar widget automatically adjusts
                      the slider when an increment or decrement
                      action occurs.  This sets the
                      XmNpageIncrement resource associated with
                      ScrollBar.

          notify      Specifies a Boolean value that when True,
                      indicates a change in the ScrollBar value
                      and that the ScrollBar widget automatically
                      activates the XmNvalueChangedCallback with
                      the recent change.  If False, no change in
                      the ScrollBar's value has occurred, and
                      XmNvalueChangedCallback is not activated.


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


     RELATED INFORMATION
          XmScrollBar(3X).































                                - 2 -



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