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: Scale9.dat /main/5 1995/07/13 19:13:13 drk $"
*/
@) A client with a vertical scale widget and three pushbuttons will
   appear.  The scale will be on the right of the client window, and
   the pushbuttons will be on the left.  The pushbuttons will be
   labeled \"Push_5_More\", \"Push_Max\" and \"Push_Min\". 
#) Click MB1 on \"Push_5_More\".  The scale should increment by 5 and
   the new slider position should be printed in the stdout window. 
#) Click MB1 on \"Push_Max\".  The slider should move all the way to
   the top of the scale. 
#) Click MB1 on \"Push_5_More\".  An X toolkit warning indicating that
   the scale value is greater than the maximum scale value should be
   printed in the stdout window. 
#) Click MB1 on Push_Min button.  The slider should move all the way
   to the bottom of the scale. 
#) Resize the client smaller until the labels overlap. 
C)
@) The scale widget will now be horizontal, on the bottom of the
   client window, with the pushbuttons arrayed above it. 
#) Click MB1 on \"Push_5_More\".  The scale should increment by 5 and
   the new slider position should be printed in the stdout window. 
#) Click MB1 on \"Push_Max\".  The slider should move all the way to
   the left edge of the scale. 
#) Click MB1 on \"Push_5_More\".  An X toolkit warning indicating that
   the scale value is greater than the maximum scale value should be
   printed in the stdout window. 
#) Click MB1 on Push_Min button.  The slider should move all the way
   to the right edge of the scale. 
#) Resize the client smaller until the labels overlap. 
E)