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: PushBGad4.dat /main/5 1995/07/13 17:30:05 drk $"
*/

#) A client with a MenuBar, a PushButton, and a PushButtonGadget all
   contained in a Form will appear. The PushButtonGadget will have a CadetBlue
   background, the same as the Form. The PushButton will have a
   Maroon background. The MenuBar will contain a single CascadeButton
   labeled \"Cascade1\". It's background color will be the default
   background color. PushButton will be highlighted with an OrangeRed
   highlight. 
C)

#) Click MB1 in the PushButtonGadget. The background color of the Form
   should change to yellow. The background color of PBGadget1 should
   change to green. The background color of the PushB1 should not change.
   A Message to this effect will be printed in the term window. 
#) While clicking MB1 in the PushButtonGadget, if you see the gadget's 
   arm color and shadow colors changing accordingly, i.e., those colors are
   set according to the background color yellow, then CR 1139 bug is fixed.
#) Click MB1 in the PushB1. The background color of the PushB1
   should change to Green, but the background color of the form and
   the PushButtonGadget should not change. A Message to this effect will
   be printed in the term window. 
C)

#) Click MB1 in the Menubar on the \"Cascade1\" button. A Pulldown
   menu should appear. It should contain three PushButtons. 
#) Select the \"Destroy PushButton\" button. PushButton should disappear
   and the highlight should now be on PushButtonGadget. 
#) Select the \"Destroy PushButtonGadget\" button from the Menu.
   PushButtonGadget should disappear and no highlight should be visible. 
#) Select the \"Destroy Form\" button from the Menu. The Form should be
   destroyed and an empty shell should be left. 
E)