/* $XConsortium: PushBGadM1.dat /main/4 1995/07/17 10:16:04 drk $ */
/*
* 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
*/
!)/* begin test for CR 4891 */
#) A PushButtonGadget will have appeared on the screen.
#) Press MB1 in the PushButtonGadget; it will appear pressed in.
#) Slowly move the pointer to one pixel outside the highlight.
The PushButtonGadget will disarm visually (i.e, it will appear pushed out).
#) Release MB1. There should be no Activate Callback message in the term
window; if there is, CR 4891 hasn't been fixed.
!) /* end test for CR 4891. */
C)
!) /* begin test for CR 5130 */
#) Move the pointer into the window containing the PushButtonGadget
so that it gets the focus.
#) Now, move the window around the screen.
#) Stop moving the window. Note the appearance of the highlight as it is
redrawn! The highlight should not be drawn twice.
C)
#) The PushButtonGadget has been destroyed, and replaced by a PushButton.
#) Move the pointer into the window containing the PushButton
so that it gets the focus.
#) Now, move the window around the screen.
#) Stop moving the window. Note the appearance of the highlight as it is
redrawn! The highlight should not be drawn twice.
!) /* end test for CR 5130 */
E)