Blob Blame History Raw
# $XConsortium: ToggleBGad1.scr /main/6 1995/07/17 20:07:05 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
# 


# 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. 

LocatePointer toggle
CompareVisual toggle
ClickMB Btn1
CompareVisual toggle
Continue

# 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.
#  Nothing should happen. 

LocatePointer toggle
CompareVisual toggle
ClickMB Btn1
CompareVisual toggle
Continue


# 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. 

LocatePointer toggle
CompareVisual toggle
ClickMB Btn1
CompareVisual toggle
Continue

# 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. 

LocatePointer toggle
CompareVisual toggle
ClickMB Btn1
CompareVisual toggle
Continue

# This panel and the next assume the existance of certain installed 
# bitmaps in /usr/lib/X11/bitmaps. If any of the described pixmaps do not
# appear, you may not have these pixmaps installed.
# A label is added with an xlogo pixmap.

CompareVisual label
Continue

# The label has become insensitive and the pixmap changes to the cross_weave
# pixmap

CompareVisual label
Continue

Exit