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: Button1b.dat /main/5 1995/07/13 17:28:57 drk $"
*/
#) This test ensures that the ArrowButton, PushButton, and ToggleButton
   correctly change visually and stay in the correct state after calls
   to the widgets' action procs.
#) The instructions that follow assume you are running with a keyboardFocus
Policy (not Window Manager Focus) of XmEXPLICIT. If you are running in 
XmPOINTER focus policy, the instructions are not applicible.
#) A window with an ArrowButton, a PushButton and a ToggleButton should
   be visible.  They should be in a 'disarmed' state.
C)
#) The buttons should be armed.
#) From the right hand side of the window, move the pointer in to and out of
each widget in turn: Arrow, PushButton, then ToggleButton. There should be
NO change when the pointer moves in, but when the pointer moves out of the
widget, it should disarm.
C)
#) Pass the pointer over all the clients in the test. They should not change
state.
C)
#) No change should have occurred.
E)