Blame tests/Toolkit/Buttons/DrawnBtn2.dat

Packit b099d7
/* 
Packit b099d7
 * Motif
Packit b099d7
 *
Packit b099d7
 * Copyright (c) 1987-2012, The Open Group. All rights reserved.
Packit b099d7
 *
Packit b099d7
 * These libraries and programs are free software; you can
Packit b099d7
 * redistribute them and/or modify them under the terms of the GNU
Packit b099d7
 * Lesser General Public License as published by the Free Software
Packit b099d7
 * Foundation; either version 2 of the License, or (at your option)
Packit b099d7
 * any later version.
Packit b099d7
 *
Packit b099d7
 * These libraries and programs are distributed in the hope that
Packit b099d7
 * they will be useful, but WITHOUT ANY WARRANTY; without even the
Packit b099d7
 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
Packit b099d7
 * PURPOSE. See the GNU Lesser General Public License for more
Packit b099d7
 * details.
Packit b099d7
 *
Packit b099d7
 * You should have received a copy of the GNU Lesser General Public
Packit b099d7
 * License along with these librararies and programs; if not, write
Packit b099d7
 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
Packit b099d7
 * Floor, Boston, MA 02110-1301 USA
Packit b099d7
*/ 
Packit b099d7
/* 
Packit b099d7
 * HISTORY
Packit b099d7
*/ 
Packit b099d7
/*
Packit b099d7
static char rcsid[] = "$XConsortium: DrawnBtn2.dat /main/5 1995/07/13 17:29:10 drk $"
Packit b099d7
*/
Packit b099d7
Packit b099d7
#) A client window should appear with three DrawnButtons. First
Packit b099d7
   DrawnButton has pushButtonEnabled set to true. The second and third have
Packit b099d7
   pushButtonEnabled set to false. 
Packit b099d7
C)
Packit b099d7
Packit b099d7
#) Press and hold MB1 on the top DrawnButton. It should appear to be
Packit b099d7
   pressed in. Move pointer out of and into the client window. DrawnButton
Packit b099d7
   should appear popped out when out of the client window and pressed in
Packit b099d7
   when in the client window. Release MB1. DrawnButton should appear popped out. 
Packit b099d7
#) Click MB1 in each DrawnButton. The second and third buttons will not
Packit b099d7
   change appearance. 
Packit b099d7
#) Move the client window. 
Packit b099d7
C)
Packit b099d7
Packit b099d7
#) Iconify the client window. Normalize the client window. 
Packit b099d7
#) Resize the client window.  If the window resize causes a resize of the
Packit b099d7
   first DrawnButton, the new size of the button will be displayed on the
Packit b099d7
   term window.   
Packit b099d7
#) Move the client window so that it partially obscures the
Packit b099d7
   term window. Raise the term window. Raise the client window. 
Packit b099d7
E)