Blob Blame History Raw
/* 
 * Motif
 *
 * Copyright (c) 1987-2012, The Open Group. All rights reserved.
 *
 * These libraries and programs are free software; you can
 * redistribute them and/or modify them under the terms of the GNU
 * Lesser General Public License as published by the Free Software
 * Foundation; either version 2 of the License, or (at your option)
 * any later version.
 *
 * These libraries and programs are distributed in the hope that
 * they will be useful, but WITHOUT ANY WARRANTY; without even the
 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 * PURPOSE. See the GNU Lesser General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with these librararies and programs; if not, write
 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
 * Floor, Boston, MA 02110-1301 USA
*/ 
/* 
 * HISTORY
*/ 
/*
static char rcsid[] = "$XConsortium: Scrollbar8.dat /main/5 1995/07/13 19:16:06 drk $"
*/

@) A client with a vertical scrollbar contained in a frame should
   appear. The scrollbar should be 250 pixels high by 50 pixels wide. 
@) 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.
C)

#) 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. 
#) Note the valueChangedCallback was called, with reasons and values
   printed in the stdout window. 
C)

#) 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. 
C)

#) 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. 
#) Note the valueChangedCallback was called, with reasons and values
   printed in the stdout window. 
C)

#) 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. 
C)
E)