/* * @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 */ /* static char rcsid[] = "$XConsortium: List5.dat /main/5 1995/07/13 18:19:06 drk $" */ #) A List contained in a Bulletin Board should appear. The Font should be: !) -adobe-helvetica-bold-r-normal--14-140-75-75-p-82-iso8859-1 C) #) The Selection Policy should be Extended Select in Normal Mode #) Move the mouse into the List and press the . The Message \"ExtendedSelection Callback called\" should be printed in the term window. #) Press the Down Arrow Key. The highlight and the selection highlight should now be on Item2. The same callback message should be printed in the term window. Item1 should be deselected. #) Press , the same callback message should be printed in the term window. #) Press Down Arrow Key. Item3 should now be selected (along with Item2). The highlight should be on Item3, and the same callback message should be printed in the term window. #) Press Down Arrow Key. Item4 should now be selected (along with Item2, and Item3). Extended Callback message should be printed in the term window. C) #) Press \"/\". All items in the list should be selected. The message \"ExtendedSelection Callback called\" should be printed in the term window. #) Press \"\\\". All items in the list should be DeSelected except for Item4. #) Press in the List. The message \"DefaultAction Callback called\" should be printed in the term window. #) Press KSelect twice very quickly. The message \"ExtendedSelection Callback called\" should be printed in the term window. No \"DefaultAction Callback called\" message should appear. #) Press the . Item4 should stayed selected and the Extended Selection callback message should be printed in the term window. #) Press and hold MB1 on Item4 and move the selection to Item10. Items 4 through 10 should be selected. Before you let go of MB1 press KCancel. The selection of Item4 through 10 should be deleted and Item4 should be the only item selected. Release MB1. C) #) The List should now have no Items selected. The hightlight should still be over Item4 but it should now be dashed lines instead of solid. This signifies that the List is now in Add Mode. SelectionPolicy is still EXTENDED_SELECT. #) Press the . Item4 should now be selected and the message \"ExtendedSelection Callback called\" should be printed in the term window. #) Press the Down Arrow Key. The highlight should move to Item5, but Item5 will NOT be selected. #) Move with the Down Arrow key till you get to Item10. #) Press . All Items between Item4 and Item10 will be seleted and the hightlight will remain on Item10. The Extended Callback message will be printed in the term window. #) Move the highlight with the UP Arrow key until you reach Item1. Press the . Item1 should be selected along with the other items currently selected. The Extended callback message should be printed. C) #) Move the highlight with the Down Arrow key until you reach Item10. Press Up Arrow. Item1 through Item10 should be selected and the Extended callback message should be printed in the term window. The highlight should be on Item9. #) Press \"\\\". All items in the list should be DeSelected. #) Press \"/\". All items in the list should be selected. The EXTENDED callback message will be printed in the term window. #) Press the key. The message \"DefaultAction Callback called\" should be printed in the term window. The selected items should not change. C) #) Press KHelp in the List. The message \"Help Callback called\" should be printed in the term window. C) #) A PushButton labeled CancelButton will appear to the right of the List. This is defined as the cancel button of the Bulletin Board. #) Click MB1 on the first item in the List. #) Press MB1 on the first List item. Drag to the third list item. Press KCancel. #) The selection in the List should be canceled. The CancelButton should not activate. Release MB1. C) #) The PushButton should now be labeled \"Set Insensitive\". #) Click MB1 on the PushButton. The PushButton and the List should be set insensitive, there should be no highlight in the List. C) #) The List should shift downward to (0, 250). #) Double click on Item1. An Information Dialog should appear. The Information dialog will be XmDIALOG_FULL_APPLICATION_MODAL. #) Move the pointer the above the list. The list should not scroll. #) Move the pointer below the list. The list should not scroll. #) Repeat two previous step a coulple of times. #) Move the pointer to the Information Dialog and click on the OK button. The dialog should be unmanaged and pop down. E)