File: Text11.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 (75 lines) | stat: -rw-r--r-- 2,733 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
/* 
 * 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: Text11.dat /main/6 1995/07/13 19:26:27 drk $"
*/
#) Traverse until Push Button 1 has focus.
#) Type <Meta> Q.  Push Button 2 should now enlarge by 20 pixels in
width and height.
C)
#) Traverse until the Text widget has focus.
#) Type <Meta> Q.  Push Button 2 should now return to its original size.
/* test case for PIR 2162 */
#) Click MB1 in the Text widget and leave the pointer where it is over the 
Text widget.
#) Type <Meta> Q.  Push Button 2 should now enlarge again in width and 
height.
/* end of test case for PIR 2162 */
C)
@) All three widgets have been destroyed and recreated.  They should all
appear as they did when the test first began.
#) Click in the Text widget and then traverse until Push Button 1 has
focus again.
#) Type <Meta> Q.  The Text widget should scroll down one page of text and the
Push Button 2 widget will remain unchanged.

C)

@) An editable text widget will appear along with a pushbutton labelled
\"Add Callback\".  

#) Click MB1 in the text widget to give the text widget the focus.
Enter some text into the text widget.
#) Click MB1 on the \"Add Callback\" pushbutton. Verify that the message 
\"Add insert handler\" is printed to the terminal.
#) Move the cursor back to the text widget and click MB1. Enter some more
text in the text widget. Verify that the cursor is displayed while
text is being entered.

C)

@) Text has been cleared from the text widget and the font has been
changed to "12x24".

#) Click MB1 in the text widget and enter some new text.
#) Click MB1 on the \"Add Callback\" pushbutton.
#) Click MB1 in the text widget and add new text again.
#) Move the cursor throughout the new text.
#) Verify that the text does not get partically erased and that old
insertion cursors do not remain throughout the text.  

C)
E)