/* $XConsortium: Container1a.dat /main/4 1995/07/17 10:10:16 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 Container1a.Dat -u a". C) #) The container widget should be displayed in its LARGE_ICON view, with a DETAILed layout type. #) There should be 4 columns displayed. #) There should be a Headings row with the various Column Headings and there should be 4 rows of IconGadgets. #) Each row should display 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 "IconGad1", "IconGad2", "IconGad3" and "IconGad4" respectively. #) The remaining three columns in each row should display plain text. #) 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 border around it. C) #) The selectionPolicy is EXTENDED_SELECT. #) Press BSelect on row 1 and drag to row 3. #) As you drag the pointer over each item, you should see a message of the following type in the term window: !) Reason for SelectionCallback: CR_EXTENDED_SELECT Number of items selected: Names of items selected: where N is 1, 2 or 3, and , , etc. correspond to "IconGad1", "IconGad2", etc. #) Release BSelect on row 3. #) Rows 1 through 3 must be selected. #) Also, you should see the following message on the term window: !) Reason for SelectionCallback: CR_EXTENDED_SELECT Number of items selected: 3 Names of items selected: IconGad1 IconGad2 IconGad3 #) 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. C) E)