/* $XConsortium: Container3a.dat /main/4 1995/07/17 10:12:21 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 */ /* * PREVIOUS HISTORY * * Revision 1.1.4.2 1993/08/24 16:04:39 yak * Fixed copyright marker and expanded copyright. * [1993/08/24 16:04:14 yak] * * Revision 1.1.2.5 1993/05/26 19:01:20 msr * Changed the action proc names to correspond to the new action proc * names in the Container code. * [1993/05/26 18:52:30 msr] * * Revision 1.1.2.4 1993/04/23 14:15:11 rec * Fixed the comment leader to be '*' instead of '#'. * [1993/04/23 14:14:45 rec] * * Revision 1.1.2.3 1993/04/23 12:22:12 msr * Added a couple more instructions to the first panel * [1993/04/23 12:21:02 msr] * * Revision 1.1.2.2 1993/04/22 21:24:44 rec * Translation table test. * [1993/04/22 21:23:47 rec] * * */ #) This is Container3 test run with the option "-I Container3a.Dat -u a", trying to test default translations and actions. C) #) The following is the set of default translations. !) ~Shift ~Ctrl : ContainerBeginSelect() ~Shift ~Ctrl: ContainerEndSelect() : ContainerButtonMotion() Shift: ContainerBeginExtend() Shift: ContainerEndExtend() Ctrl: ContainerBeginToggle() Ctrl: ContainerEndToggle() ~Shift ~Ctrl: ContainerStartTransfer(Copy) Shift Ctrl: ContainerStartTransfer(Link) Shift: ContainerStartTransfer(Move) : ContainerEndTransfer() ~Shift ~CtrlosfInsert: ContainerPrimaryCopy() Shift CtrlosfInsert: ContainerPrimaryLink() ShiftosfDelete: ContainerPrimaryMove() osfCancel: ContainerCancel() ShiftosfSelect: ContainerExtend() osfSelect: ContainerSelect() ShiftosfUp: ContainerExtendCursor(Up) ShiftosfDown: ContainerExtendCursor(Down) ShiftosfLeft: ContainerExtendCursor(Left) ShiftosfRight: ContainerExtendCursor(Right) osfUp: ContainerMoveCursor(Up) osfDown: ContainerMoveCursor(Down) osfLeft: ContainerMoveCursor(Left) osfRight: ContainerMoveCursor(Right) Shift CtrlosfBeginLine: ContainerExtendCursor(First) Shift CtrlosfEndLine: ContainerExtendCursor(Last) CtrlosfBeginLine: ContainerMoveCursor(First) CtrlosfEndLine: ContainerMoveCursor(Last) osfAddMode: ContainerToggleMode() Ctrlslash: ContainerSelectAll() Ctrlbackslash: ContainerDeselectAll() osfActivate: ContainerActivate() @) You should not see any message in the term window about "Actions not found". C) #) 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. #) 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. #) Press Btn1 on IconGad1 and drag across to IconGad4. Release Btn1. This will select all. Repeat to unselect. #) Press Btn2 on any item to initiate a drag action. #) Press Btn1 on IconGad1 and start dragging to IconGad4 to select the gadgets. Press osfCancel to cancel the selection. Release Btn1. #) 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) #) Click Btn1 on IconGad1 to select it. #) Move the selection over the gadgets by using the osfUp and osfDown keys. Stay on IconGad2. #) Press and osfBeginLine to move the selection to IconGad1 (the first item). #) Press and osfEndLine to move the selection to IconGad4 (the last item). #) Click Btn1 on IconGad3. This is now the anchor item. Press osfDown key. IconGad4 is also selected. #) Press osfUp key. IconGad4 is deselected. Press osfUp key. IconGad2 is also selected. #) Press and osfBeginLine. IconGad1, IconGad2 and IconGad3 are selected. The location cursor is on IconGad1. #) Click Btn1 on IconGad2. Press and osfEndLine. IconGad2, IcondGad3 and IconGad4 are selected. The location cursor is on IconGad4. #) Press osfDeselectAll to unselect. Press osfSelectAll to select all items. #) Click Btn1 on IconGad4 to select it. The other gadgets are deselected. C) #) 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 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. #) Press and osfBeginLine key to move the location cursor to IconGad1. Press and 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 key to IconGad4. Unselect it by clicking the select button. Then press and hold shift and scroll up by clicking the osfUp key. This should unselect each item. #) 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) E)