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
 */

/*   $XConsortium: ToggleBGad5.dat /main/4 1995/07/13 17:32:15 drk $ */

#) This is a test of the operation of the toggle button indicator.  
   A toggle button with a small pixmap and a push button should now be
   displayed.  Notice the size of the toggle indicator.
#) Click MB1 on the push button labelled "Cycle Pixmaps".  The pixmap on the
   toggle button should change.  This pixmap will be larger than the
   original pixmap.  The indicator should resize itself to remain in
   proportion to the pixmap height.
#) Click MB1 on the push button again.  Again, the pixmap will change and 
   the indicator will grow in proportion to its size.
#) Click MB1 one more time.  The pixmap returns to its original size and the
   indicator shrinks along with it.
C)

#) A Menu Bar is generated which contains a pulldown menu.  Using MB1,
   press on the MENU cascade button on the Menu Bar and do not release the
   button.  The Pulldown menu appears.

#) Notice that all of the toggle buttons in the Pulldown menu have the
   same indicator size.  Keeping MB1 pressed, move the pointer over
   "Button_A".  Release MB1.

#) Call up the pulldown menu again.  The label of the top button in the
   menu has been changed to "A New Label".  The indicator on this toggle 
   button should remain the same as the other buttons in the Pulldown menu.

C)
E)