# $XConsortium: Container3a.scr /main/4 1995/07/17 20:16:02 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 Container3 test run with the option "-I Container3a.Dat -u a", # trying to test default translations and actions. # C) # C) Continue Continue # #) Click Btn1 on IconGad2 to select it. # #) Press Btn1 on IconGad1 and drag to IconGad4 to select all four. # Release Btn1. # #) Click Btn1 outside the icon gadgets to unselect all gadgets. CompareVisual Container3a LocatePointer IconGad2 ClickMB Btn1 CompareVisual Container3a LocatePointer IconGad1 PressMB Btn1 LocatePointer IconGad4 ReleaseMB Btn1 CompareVisual Container3a LocatePointerXYRel Container3a 10 10 ClickMB Btn1 CompareVisual Container3a # #) Click Btn1 on IconGad1 to select it and click Btn1 on IconGad3. # IconGad1, IconGad2 and IconGad3 are selected. # #) Click Btn1 outside the icon gadgets to unselect all gadgets. LocatePointer IconGad1 ClickMB Btn1 CompareVisual Container3a LocatePointer IconGad3 ClickMB Btn1 CompareVisual Container3a LocatePointerXYRel Container3a 10 10 ClickMB Btn1 CompareVisual Container3a # #) Press Btn1 on IconGad1 and drag across to IconGad4. # Release Btn1. This will select all. Repeat to unselect. LocatePointer IconGad1 PressMB Btn1 LocatePointer IconGad4 ReleaseMB Btn1 CompareVisual Container3a LocatePointer IconGad1 PressMB Btn1 LocatePointer IconGad4 ReleaseMB Btn1 CompareVisual Container3a # #) Press Btn1 on IconGad1 and start dragging to IconGad4 to select the gadgets. # Press escape to cancel the selection. # Release Btn1. LocatePointer IconGad1 PressMB Btn1 LocatePointer IconGad4 CompareVisual Container3a ClickKey KEscape ReleaseMB Btn1 CompareVisual Container3a # #) Press Btn1 outside IconGad1 on the left, and start dragging towards # IconGad4. A Marquee rectangle appears. When a gadget is inside this # rectangle, its selection state changes. Release Btn1. # The gadgets inside the Marquee rectangle are selected. # C) LocatePointerXYRel Container3a 10 10 PressMB Btn1 LocatePointerXYRel Container3a 50 50 CompareVisual Container3a LocatePointerXYRel Container3a 88 180 ReleaseMB Btn1 CompareVisual Container3a Continue # #) Click Btn1 on IconGad1 to select it. # #) Move the selection over the gadgets by using the up and down arrow # keys. Stay on IconGad2. LocatePointer IconGad1 ClickMB Btn1 CompareVisual Container3a ClickKey KUp ClickKey KUp CompareVisual Container3a ClickKey KDown ClickKey KDown ClickKey KDown CompareVisual Container3a # #) Press and osfBeginLine to move the selection to IconGad1 (the # first item). # #) Press and osfEndLine to move the selection to IconGad4 (the last # item). ClickKey KBeginLine CompareVisual Container3a ClickKey KEndLine CompareVisual Container3a # #) Click Btn1 on IconGad3. This is now the anchor item. # Press osfDown arrow key. # IconGad4 is also selected. # #) Press osfUp key. # IconGad4 is deselected. # Press osfUp arrow key. # IconGad2 is also selected. LocatePointer IconGad3 ClickMB Btn1 CompareVisual Container3a ClickKey KDown CompareVisual Container3a ClickKey KUp CompareVisual Container3a ClickKey KUp CompareVisual Container3a # #) Press and osfBeginLine. # IconGad1, IconGad2 and IconGad3 are selected. # The location cursor is on IconGad1. ClickKey KBeginLine CompareVisual Container3a # #) Click Btn1 on IconGad2. # Press and osfEndLine. # IconGad2, IcondGad3 and IconGad4 are selected. # The location cursor is on IconGad4. LocatePointer IconGad2 ClickMB Btn1 ClickKey KEndLine CompareVisual Container3a # #) Press osfDeselectAll to unselect. # Press osfSelectAll to select all items. ClickKey KDeselectAll CompareVisual Container3a ClickKey KSelectAll CompareVisual Container3a # #) Click Btn1 on IconGad4 to select it. # The other gadgets are deselected. # C) LocatePointer IconGad4 ClickMB Btn1 CompareVisual Container3a Continue # #) Press osfAddMode to toggle the selection mode (Add mode). # The shape of the location cursor changes (dashed rectangle). # #) Click Btn1 on IconGad2 to select it. # Move the location cursor by using the osfUp and osfDown arrow # keys. Put the location cursor on IconGad4. # Click the osfSelect key to toggle IconGad4. # IconGad4 is also selected. # Put the location cursor on IconGad2. # Click the osfSelect key to toggle a selected item. # IconGad2 is now deselected. LocatePointer Container3a ClickKey KAddMode CompareVisual Container3a LocatePointer IconGad2 ClickMB Btn1 CompareVisual Container3a ClickKey KDown CompareVisual Container3a ClickKey KUp ClickKey KUp CompareVisual Container3a ClickKey KDown ClickKey KDown ClickKey KDown CompareVisual Container3a ClickKey KSelect CompareVisual Container3a ClickKey KUp ClickKey KUp ClickKey KSelect CompareVisual Container3a # #) Press and osfBeginLine key to move the location cursor to IconGad1. # Press osfEndLine to move the location cursor to IconGad4. # #) With all items unselected, move the location cursor to IconGad4. # Select it by clicking the osfSelect key. Press and hold shift and # move up by clicking the osfUp key. Each gadget should get selected. # #) Scroll back via the osfUp arrow key to IconGad4. Unselect it by # clicking the osfSelect button. Then press and hold shift and scroll # up by clicking the osfUp key. This should unselect each item. ClickKey KBeginLine CompareVisual Container3a ClickKey KEndLine CompareVisual Container3a ClickKey KSelect ClickKey KSelect CompareVisual Container3a ClickKey KUp CompareVisual Container3a ClickKey KUp ClickKey KUp CompareVisual Container3a ClickKey KUp CompareVisual Container3a ClickKey KSelect CompareVisual Container3a ClickKey KUp CompareVisual Container3a ClickKey KUp ClickKey KUp CompareVisual Container3a # #) Press the osfSelect key on IconGad1. # Press osfDown key. # IconGad1 is still selected and IconGad2 is selected. # #) Press and osfEndLine to move the position cursor to # IconGad4 (the last item). # All the gadgets are selected. # #) Click the osfSelect key on IconGad4 to toggle it. # IconGad4 is deselected. # #) Press osfUp key. # IconGad3 is now deselected. # #) Press and osfBeginLine to unselect all. # The location cursor is on IconGad1. # #) Press osfAddMode to toggle the selection mode (Normal mode). # The shape of the location cursor is changes (rectangle). # C) LocatePointer IconGad1 ClickKey KSelect CompareVisual Container3a ClickKey KDown CompareVisual Container3a ClickKey KEndLine CompareVisual Container3a ClickKey KSelect ClickKey KUp CompareVisual Container3a ClickKey KBeginLine CompareVisual Container3a ClickKey KAddMode CompareVisual Container3a Continue # E) Exit