# # @OPENGROUP_COPYRIGHT@ # COPYRIGHT NOTICE # Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc. # Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group # ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for # the full copyright text. # # This software is subject to an open license. It may only be # used on, with or for operating systems which are themselves open # source systems. You must contact The Open Group for a license # allowing distribution and sublicensing of this software on, with, # or for operating systems which are not Open Source programs. # # See http://www.opengroup.org/openmotif/license for full # details of the license agreement. Any use, reproduction, or # distribution of the program constitutes recipient's acceptance of # this agreement. # # EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS # PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY # WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY # OR FITNESS FOR A PARTICULAR PURPOSE # # EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT # NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE # EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGES. # # # HISTORY # # $XConsortium: Scrollbar8.scr /main/4 1995/07/13 19:16:11 drk $ # A client with a vertical scrollbar contained in a frame should # appear. The scrollbar should be 250 pixels high by 50 pixels wide. CompareVisual scrollbar # The following message should be printed in the stdout window: #!) # value=0, slider_size=10, incr=1, page_incr=10 # All manipulations of scrollbar values in the following steps # will be made with the Xm # convenience functions XmScrollBarSetValues and XmScrollBarGetValues. Continue # The following message should be printed in the stdout window: #!) # Reason=XmCR_VALUE_CHANGED, Value=10, GetValues value=10 # value=10, slider_size=20, incr=5, page_incr=15 # These values should be reflected in the displayed scrollbar. CompareVisual scrollbar # Note the valueChangedCallback was called, with reasons and values # printed in the stdout window. Continue # The following message should be printed in the stdout window: #!) # value=20, slider_size=30, incr=9, page_incr=20 #@) These values should be reflected in the displayed scrollbar. CompareVisual scrollbar Continue # The following message should be printed in the stdout window: #!) # Reason=XmCR_VALUE_CHANGED, Value=30, GetValues value=30 # value=30, slider_size=40, incr=13, page_incr=25 #@) These values should be reflected in the displayed scrollbar. CompareVisual scrollbar # Note the valueChangedCallback was called, with reasons and values # printed in the stdout window. Continue # The following message should be printed in the stdout window: #!) # value=40, slider_size=50, incr=17, page_incr=30 #@) These values should be reflected in the displayed scrollbar. CompareVisual scrollbar Continue Exit