# $XConsortium: Container1k.scr /main/4 1995/07/17 20:14:38 drk $ # @OPENGROUP_COPYRIGHT@ # COPYRIGHT NOTICE # Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc. # Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group # ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for # the full copyright text. # # This software is subject to an open license. It may only be # used on, with or for operating systems which are themselves open # source systems. You must contact The Open Group for a license # allowing distribution and sublicensing of this software on, with, # or for operating systems which are not Open Source programs. # # See http://www.opengroup.org/openmotif/license for full # details of the license agreement. Any use, reproduction, or # distribution of the program constitutes recipient's acceptance of # this agreement. # # EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS # PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY # WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY # OR FITNESS FOR A PARTICULAR PURPOSE # # EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT # NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE # EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGES. # # # HISTORY # #) This is the Container1 Test run with option "-I Container1k.Dat -u k". # C) # # #) The container widget should be displayed in its ANY_ICON view, # with a DETAIL layoutType. # #) There should be 4 columns displayed, and 4 rows of IconGadgets. # #) The Headings row and the order of the text columns should be the following: # Icon, Age, Favorite Flavor and Full Title. # #) Each row should display pixmap-label combination of an IconGadget # in the first column. "IconGad1", "IconGad2" and "IconGad4" should be # displayed in their small icon view, with the pixmap displaying the letter # "S" on a black background and the label text should display "IconGad1", # "IconGad2", and "IconGad4" respectively. # "IconGad3" should be displayed in its large icon view. # #) The first row is selected with an aquamarine color. # #) Move the pointer into the "Container1" window. The first row should have # the focus, highlighted with a red dashed border around it. # C) Continue CompareVisual Container1k LocatePointer Container1k CompareVisual Container1k Continue # #) The selectionPolicy is SINGLE_SELECT. # #) Click Btn1 on "IconGad1". It should get deselected. # #) Press BSelect on row 3 and drag to row 1. # #) As soon as you press BSelect on row 3, row 3 should get selected. # #) As you drag the pointer over each item, there should be no change # #) Release BSelect on row 1. # #) Only row 3 should remain selected. # #) Also, you should see the following message on the term window: # !) # Reason for SelectionCallback: CR_SINGLE_SELECT # Number of items selected: 1 # Names of items selected: IconGad3 # C) LocatePointer IconGad1 ClickMB Btn1 CompareVisual Container1k LocatePointer IconGad3 PressMB Btn1 CompareVisual Container1k LocatePointer IconGad1 ReleaseMB Btn1 CompareVisual Container1k Continue # #) Double click BSelect on any of the rows. # #) A new row should appear appended to row 4. This row should display # a pixmap-label combination of an IconGadget in the first column, # with the pixmap displaying the letter "L" on a black background # and the label text should display "IconGad5". Rest of the columns # should display plain text. The order of the text columns should # respect the heading order. # #) Using the Up and Down arrow keys traverse through all the rows # more than once. When you reach the last or first row, you should # cycle back to the first or last row depending on the direction # of the key pressed. # C) LocatePointer IconGad2 ClickMB Btn1 2 CompareVisual Container1k ClickKey KUp CompareVisual Container1k ClickKey KUp ClickKey KUp ClickKey KUp CompareVisual Container1k ClickKey KDown CompareVisual Container1k ClickKey KDown ClickKey KDown ClickKey KDown CompareVisual Container1k Continue # E) Exit