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

#) If you are running this test manually, please exit now and restart
   with the command:

      ToggleBGad1 -xrm "*label.labelPixmap: ../bitmaps/gnu.bmp" \
	  -xrm "*label..labelInsensitivePixmap: ../bitmaps/mtn.bmp"

#) A client window with a ToggleButton and pixmap should appear.
   The toggleButton should appear set, and the smiley face
   should have a white background and a black foreground. 
#) Press and release MB1 in client window. Indicator
   should toggle, but not the pixmap. Verify that the indicator
   is red when depressed.
C)

#) A client window with a ToggleButton and pixmap should appear.
   The toggleButton should appear set, and the smiley face
   should have a white foreground and black background.
#) Press and release MB1 in client window.
   Nothing should happen. 
C)

#) A client window with a ToggleButton and pixmap should appear.
   The smiley face should have a white background and a black foreground. 
#) Press and release MB1 in client window. Indicator
   should toggle, but not the pixmap. Verify that the indicator
   is green when depressed. 
C)

#) A client window with a ToggleButton and pixmap should appear.
   The smiley face should have a white background and a black foreground. 
#) Press and release MB1 in client window. Indicator
   should toggle, but not the pixmap. 
C)
#) This panel and the next assume the existance of certain installed 
   bitmaps in /tests/Toolkit/bitmaps. If any of the described pixmaps do not
   appear, you may not have these pixmaps in your source tree.

#) A label is added with an GNU pixmap.
C)
#) The label has become insensitive and the pixmap changes to the mountain
   pixmap.
C)
E)