File: ScrollList1.dat

package info (click to toggle)
motif 2.3.4-13
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 81,160 kB
  • ctags: 51,769
  • sloc: ansic: 596,938; cpp: 3,951; yacc: 2,854; makefile: 2,070; csh: 1,199; sh: 1,070; lex: 455
file content (77 lines) | stat: -rw-r--r-- 3,707 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/* 
 * Motif
 *
 * Copyright (c) 1987-2012, The Open Group. All rights reserved.
 *
 * These libraries and programs are free software; you can
 * redistribute them and/or modify them under the terms of the GNU
 * Lesser General Public License as published by the Free Software
 * Foundation; either version 2 of the License, or (at your option)
 * any later version.
 *
 * These libraries and programs are distributed in the hope that
 * they will be useful, but WITHOUT ANY WARRANTY; without even the
 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 * PURPOSE. See the GNU Lesser General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with these librararies and programs; if not, write
 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
 * Floor, Boston, MA 02110-1301 USA
*/ 
/* 
 * HISTORY
*/ 
/*
static char rcsid[] = "$XConsortium: ScrollList1.dat /main/5 1995/07/13 18:22:58 drk $"
*/
#) A client with a scrolled list should appear. The list should have
   a white background and should have 20 items visible.
#) Press and hold MB1 on scrollbar slider and drag pointer up
   and down to scroll through the list.
#) Click on one item in the list. The item should be highlighted
   and a message should appear in the term window.
#) Click on another item. The same characteristics should apply.
#) Continue to have selection mode become MULTIPLE_SELECT.
C)
#) Click on several items in the list. All items selected should
   be highlighted and a message should appear after each selection.
#) Click on a highlighted item. The item should be unselected
   and a message should appear.
#) Continue to have selection mode become BROWSE_SELECT.
C)
#) Browse select an item (press and hold MB1, drag pointer
   through selections, then release on desired item), the highlight should
   follow the pointer through the list and stay on the selected item.
#) Press and hold MB1 in the client window. Drag the pointer
   outside of the client window to the left or the right.
   Drag the pointer up and down, the selection should follow the
   pointer. Drag the pointer below the client window, the list
   should scroll down if not at the end. Release MB1.
#) Continue to have selection mode become EXTENDED_SELECT.
C)
#) Drag select first three items (move pointer to first item, press
   and hold on MB1 and drag pointer through the first three items
   then release MB1. The first three items should be highlighted
   and a message should appear in the term window.
#) Unselect all items (press and hold <ctrl> key, and MB1 and drag pointer
   across all selected items). No items should be highlighted.
#) Select an item (move pointer to desired item and click MB1).
   The selected item should be highlighted and a message should appear.
#) Move pointer to the another item, press and hold <shift> key and click MB1.
   All items between these items selected should become selected and
   a message should appear.
#) Move the pointer to the another item, press and hold <ctrl> key and click
   MB1. The selected item should be added to the items selected
   and a message should appear.
#) Unselect all items (press and hold <ctrl> key, and MB1 and drag
   the pointer across all selected items). No items should be highlighted and
   a message should appear.
C)
#) Move the list down one position by clicking once on the down arrow of
   the vertical scroll bar. Item "btest1b" must be the first visible item.
#) Double click on any visible list entry.
#) This should not result in a core dump. But, the vertical scrollbar 
   should disappear and only the first 20 items must be visible.
E)