Blob Blame History Raw
/* $XConsortium: RIPushBGad1.dat /main/4 1995/07/17 10:20:59 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
 */
/* 
 * Original History:
 *
 * Revision 1.2.4.3  1992/11/09  19:10:05  shobana
 * 	   Moved test for CR 4891 elsewhere
 * 	[1992/11/09  19:09:50  shobana]
 *
 * Revision 1.2.4.2  1992/11/02  18:02:36  shobana
 * 	Added instruction for CR 4891
 * 	[1992/11/02  18:02:11  shobana]
 * 
 * Revision 1.2.2.2  1992/03/17  20:44:05  yak
 * 	Fixed rcsid
 * 	[1992/03/17  20:43:47  yak]
 * 
 * Revision 1.2  1992/03/13  16:59:03  devsrc
 * 	Converted to ODE
 * 
 */ 

#) Double click on the button. You should see 'Armed' and 'Activated'
   messages, followed by the number of click counts, and 'Disarmed'.
   There should be two sets of these, one with click count of 1
   and one with click count of 2 
#) Perform the same actions, with these changes:
     leave/enter between first arm and disarm then click again
     arm, wait several seconds, then disarm and click again. 
C)


#) Double click again on the button.  This time you should see 
   'Armed' and 'Activated' messages, followed by a click count of 1,
   and 'Disarmed'.  There should only be one set of these for every
   multi click made.

C)

#) A pushbutton gadget labeled 'Push Gadget Here' should appear. 
#) Arm the pushbutton gadget (press and hold MB1 on pushbutton gadget).
   The gadget should appear to be pressed in and 
   \"PushButtonGadget Armed\" should appear in the term window. 
#) Release MB1. The gadget should appear popped out and
   \"PushButtonGadget Activated\" and \"PushButtonGadget Disarmed\" should
   appear in the term window. 
#) Move, Resize, Iconify, and Normalize the client window. 

C)

#) The client window should have changed size and should contain the
   image of the GNU appear in the pushbutton gadget.
#) Arm the pushbutton gadget (press and hold MB1 on pushbutton gadget).
   The gadget should appear to be pressed in and 
   \"PushButtonGadget Armed\" should appear in the term window. 
#) Release MB1. The gadget should appear popped out and
   \"PushButtonGadget Activated\" and \"PushButtonGadget Disarmed\" should
   appear in the term window. 
C)

#) The margin around the GNU pixmap should be 1 mm.
#) Arm the pushbutton gadget (press and hold MB1 on pushbutton gadget).
   The margin should change color and 
   \"PushButtonGadget Armed\" should appear in the term window. 
#) Move the pointer out of the client window. The margin
   should revert back to the original color. 
#) Move the pointer back into the window. The margin
   should change color. 
#) Move the pointer out of the window. The margin
   should revert back to the original colors. 
#) Release MB1. \"PushButtonGadget Disarmed\" should
   appear in the term window. 
#) Move the client window so it partially obscures the term window. 
#) Raise the term window. 
#) Raise the client window. 
C)
#) The label: 'PBG Label' should appear in the pushbutton gadget.
   The default shadow should appear around the pushbutton gadget.
#) Arm the pushbutton gadget (press and hold MB1 on pushbutton gadget).
   The gadget should appear to be pressed in. 
#) Release MB1. The gadget should appear popped out. 
C)
#) The window should be resized. The new size will be reported in the
   term window.

C)
   The gadget should be destroyed.
E)