File: Notebook.defaults

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 (456 lines) | stat: -rw-r--r-- 14,061 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
! $XConsortium: Notebook.defaults /main/4 1996/07/23 13:51:12 drk $
! 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



! This is the applications defaults file for the Notebook directory

!*****************************************************************************!
!			Defaults for Notebook1.c                              !
!*****************************************************************************!

/* Notebook Resources */

! There are 5 sets of Notebook resources for the test. Which one is applied
! depends on the flag the user passes into the test, which determines the
! Xt name of the Notebook.  
! The geometry resources are set separately at the bottom


Notebook1*Notebook1.currentPageNumber:	2
Notebook1*Notebook1.firstPageNumber:	1
Notebook1*Notebook1.lastPageNumber:	6
Notebook1*Notebook1.orientation:        HORIZONTAL
Notebook1*Notebook1.backPagePlacement:	TOP_RIGHT
Notebook1*Notebook1.backPageNumber:	12
Notebook1*Notebook1.backPageSize:	15
Notebook1*Notebook1.backPageForeground:	Red
Notebook1*Notebook1.backPageBackground: Green
Notebook1*Notebook1.frameBackground:	Blue
Notebook1*Notebook1.bindingType:	NONE
Notebook1*Notebook1.innerMarginWidth :  10
Notebook1*Notebook1.innerMarginHeight:	10
Notebook1*Notebook1.majorTabSpacing:	10
Notebook1*Notebook1.minorTabSpacing:	10
Notebook1*Notebook1.frameShadowThickness:	10



Notebook1*Notebook2.orientation:	VERTICAL
Notebook1*Notebook2.backPagePlacement:	TOP_LEFT
Notebook1*Notebook2.bindingType:        SOLID
Notebook1*Notebook2.bindingWidth:	20



Notebook1*Notebook3.orientation:	HORIZONTAL
Notebook1*Notebook3.backPagePlacement:	BOTTOM_RIGHT
Notebook1*Notebook3.bindingType:        SPIRAL

Notebook1*Notebook4.orientation:	VERTICAL
Notebook1*Notebook4.backPagePlacement:	BOTTOM_LEFT
Notebook1*Notebook4.bindingType:        PIXMAP
Notebook1*Notebook4.bindingPixmap:      ../bitmaps/gnu.bmp


Notebook1*Notebook5.orientation:	HORIZONTAL
Notebook1*Notebook5.backPagePlacement:	TOP_RIGHT
Notebook1*Notebook5.bindingType:        PIXMAP_OVERLAP_ONLY
Notebook1*Notebook5.bindingPixmap:      ../bitmaps/gnu.bmp
Notebook1*Notebook5.bindingWidth:	20


!-----------------------------------------------------------------------------!

/* Constraint Resources */


Notebook1*Page1.notebookChildType: PAGE
Notebook1*Page2.notebookChildType: PAGE
Notebook1*Page3.notebookChildType: PAGE
Notebook1*Page4.notebookChildType: PAGE
Notebook1*Page5.notebookChildType: PAGE
Notebook1*Page6.notebookChildType: PAGE


Notebook1*Page1.recomputeSize: False
Notebook1*Page2.recomputeSize: False
Notebook1*Page3.recomputeSize: False
Notebook1*Page4.recomputeSize: False
Notebook1*Page5.recomputeSize: False
Notebook1*Page6.recomputeSize: False

Notebook1*MajorTab1.notebookChildType: MAJOR_TAB
Notebook1*MajorTab2.notebookChildType: MAJOR_TAB

Notebook1*MajorTab1.recomputeSize: False
Notebook1*MajorTab2.recomputeSize: False

Notebook1*MinorTab1.recomputeSize: False
Notebook1*MinorTab2.recomputeSize: False
Notebook1*MinorTab3.recomputeSize: False

Notebook1*MinorTab1.notebookChildType: MINOR_TAB
Notebook1*MinorTab2.notebookChildType: MINOR_TAB
Notebook1*MinorTab3.notebookChildType: MINOR_TAB

Notebook1*Notebook1.PageScr.notebookChildType: PAGE_SCROLLER
Notebook1*Notebook1.PageScr.orientation: HORIZONTAL

Notebook1*StatusArea.notebookChildType: STATUS_AREA

/* this is non-intuitive, I know, but I wanted to test having a tab
   w/out the XmQTActivatable trait. So we have a tab called StatusArea, big 
   deal. */

Notebook1*Notebook2.StatusArea.notebookChildType : MAJOR_TAB

Notebook1*Page1.pageNumber : 1
Notebook1*Page2.pageNumber : 2
Notebook1*Page3.pageNumber : 3
Notebook1*Page4.pageNumber : 4
Notebook1*Page5.pageNumber : 5
Notebook1*Page6.pageNumber : 6

Notebook1*MajorTab1.pageNumber : 2
Notebook1*MajorTab2.pageNumber : 4

Notebook1*MinorTab1.pageNumber : 1
Notebook1*MinorTab2.pageNumber : 3
Notebook1*MinorTab3.pageNumber : 5

Notebook1*StatusArea.pageNumber : 1

# specific resources


Notebook1*Notebook1.Page1.resizable : True
Notebook1*Notebook1.MajorTab1.resizable : True
Notebook1*Notebook1.MinorTab1.resizable : True
Notebook1*Notebook1.PageScr.resizable : True
Notebook1*Notebook1.StatusArea.resizable : True


Notebook1*Notebook2.Page1.resizable : False
Notebook1*Notebook2.Page2.resizable : False
Notebook1*Notebook2.Page3.resizable : False
Notebook1*Notebook2.Page4.resizable : False
Notebook1*Notebook2.Page5.resizable : False
Notebook1*Notebook2.MajorTab1.resizable : False
Notebook1*Notebook2.MinorTab1.resizable : False
Notebook1*Notebook2.PageScr.resizable : False
Notebook1*Notebook2.StatusArea.resizable : False

!-----------------------------------------------------------------------------!

/* Geometry Resources */

! when run with '-u 1'

Notebook1*Parent1.width : 400
Notebook1*Parent1.height : 400

! when run with '-u 2'

Notebook1*Notebook2.width : 400
Notebook1*Notebook2.height : 400


! when run with '-u 3'


Notebook1*Notebook3.Page1.width : 400
Notebook1*Notebook3.Page1.height : 400

! when run with '-u 4'


Notebook1*Notebook4.width : 200
Notebook1*Notebook4.height : 200

Notebook1*Notebook4.Page1.width : 400
Notebook1*Notebook4.Page1.height : 400

! when run with '-u 5'

Notebook1*Notebook5.Page1.width : 400
Notebook1*Notebook5.Page1.height : 400

Notebook1*Notebook5.MajorTab1.width : 30
Notebook1*Notebook5.MajorTab1.height : 30

Notebook1*Notebook5.MajorTab2.width : 30
Notebook1*Notebook5.MajorTab2.height : 30

Notebook1*Notebook5.MinorTab1.width : 30
Notebook1*Notebook5.MinorTab1.height : 30

Notebook1*Notebook5.MinorTab2.width : 30
Notebook1*Notebook5.MinorTab2.height : 30

Notebook1*Notebook5.MinorTab3.width : 30
Notebook1*Notebook5.MinorTab3.height : 30


!*****************************************************************************!
!			Defaults for Notebook2.c
!*****************************************************************************!


!Pages of Notebook

Notebook2*Form1.notebookChildType:      PAGE
Notebook2*Form1.pageNumber       :      1

Notebook2*Frame1.notebookChildType:     PAGE
Notebook2*Frame1.pageNumber       :     2

Notebook2*RC1.notebookChildType:        PAGE
Notebook2*RC1.pageNumber       :        3

Notebook2*PW1.notebookChildType:        PAGE
Notebook2*PW1.pageNumber       :        4

Notebook2*BB1.notebookChildType:        PAGE
Notebook2*BB1.pageNumber       :        5

Notebook2*PB1.notebookChildType:        PAGE
Notebook2*PB1.pageNumber       :        6

Notebook2*NB1.notebookChildType:        PAGE
Notebook2*NB1.pageNumber       :        7


! Major Tabs
Notebook2*MajorTab1.notebookChildType:      MAJOR_TAB
Notebook2*MajorTab1.pageNumber       :      1

Notebook2*MajorTab2.notebookChildType:      MAJOR_TAB
Notebook2*MajorTab2.pageNumber       :      4

Notebook2*MajorTab3.notebookChildType:      MAJOR_TAB
Notebook2*MajorTab3.pageNumber       :      5

! Minor Tabs

Notebook2*MinorTab1.notebookChildType:      MINOR_TAB
Notebook2*MinorTab1.pageNumber       :      1

Notebook2*MinorTab2.notebookChildType:      MINOR_TAB
Notebook2*MinorTab2.pageNumber       :      2

Notebook2*MinorTab3.notebookChildType:      MINOR_TAB
Notebook2*MinorTab3.pageNumber       :      3


! Status Areas

Notebook2*StatusArea1.notebookChildType    :      STATUS_AREA
Notebook2*StatusArea1.pageNumber       :          1
Notebook2*StatusArea1.editable       :            False
Notebook2*StatusArea1.value       :               Form
Notebook2*StatusArea1.shadowThickness       :     1
Notebook2*StatusArea1.cursorPositionVisible       :     False

Notebook2*StatusArea2.notebookChildType    :      STATUS_AREA
Notebook2*StatusArea2.pageNumber       :          2
Notebook2*StatusArea2.editable       :            False
Notebook2*StatusArea2.value       :               Frame
Notebook2*StatusArea2.shadowThickness       :     1
Notebook2*StatusArea2.cursorPositionVisible       :     False


Notebook2*StatusArea3.notebookChildType    :      STATUS_AREA
Notebook2*StatusArea3.pageNumber       :          3
Notebook2*StatusArea3.editable       :            False
Notebook2*StatusArea3.value       :               RowColumn
Notebook2*StatusArea3.shadowThickness       :     1
Notebook2*StatusArea3.cursorPositionVisible       :     False

Notebook2*StatusArea4.notebookChildType    :      STATUS_AREA
Notebook2*StatusArea4.pageNumber       :          4
Notebook2*StatusArea4.editable       :            False
Notebook2*StatusArea4.value       :               PanedWindow
Notebook2*StatusArea4.shadowThickness       :     1
Notebook2*StatusArea4.cursorPositionVisible       :     False

Notebook2*StatusArea5.notebookChildType    :      STATUS_AREA
Notebook2*StatusArea5.pageNumber       :          5
Notebook2*StatusArea5.editable       :            False
Notebook2*StatusArea5.value       :               BulletinBoard
Notebook2*StatusArea5.shadowThickness       :     1
Notebook2*StatusArea5.cursorPositionVisible       :     False

Notebook2*StatusArea6.notebookChildType    :      STATUS_AREA
Notebook2*StatusArea6.pageNumber       :          6
Notebook2*StatusArea6.editable       :            False
Notebook2*StatusArea6.value       :               PushButton
Notebook2*StatusArea6.shadowThickness       :     1
Notebook2*StatusArea6.cursorPositionVisible       :     False

Notebook2*StatusArea7.notebookChildType    :      STATUS_AREA
Notebook2*StatusArea7.pageNumber       :          7
Notebook2*StatusArea7.editable       :            False
Notebook2*StatusArea7.value       :               Notebook
Notebook2*StatusArea7.shadowThickness       :     1
Notebook2*StatusArea7.cursorPositionVisible       :     False

! Kids of the pages

Notebook2*FormKid1.leftAttachment :  ATTACH_FORM

Notebook2*FormKid2.rightAttachment : ATTACH_FORM
Notebook2*FormKid2.leftAttachment : ATTACH_WIDGET
Notebook2*FormKid2.leftWidget :  FormKid1


Notebook2*FormKid3.topWidget : FormKid1
Notebook2*FormKid3.bottomAttachment : ATTACH_FORM

Notebook2*FormKid4.rightAttachment : ATTACH_FORM
Notebook2*FormKid4.leftAttachment : ATTACH_WIDGET
Notebook2*FormKid4.leftWidget :  FormKid3
Notebook2*FormKid4.bottomAttachment : ATTACH_FORM


Notebook2*BBKid1.x : 10
Notebook2*BBKid1.y : 10

Notebook2*BBKid2.x : 75
Notebook2*BBKid2.y : 10

Notebook2*BBKid3.x : 10
Notebook2*BBKid3.y : 75

Notebook2*BBKid4.x : 75
Notebook2*BBKid4.y : 75



!*****************************************************************************!
!			Defaults for Notebook3.c
!*****************************************************************************!


Notebook3*bindingPixmap:      ../bitmaps/gnu.bmp


!*****************************************************************************!
!			Defaults for Notebook5.c
!*****************************************************************************!


!Pages of Notebook

Notebook5*Form1.notebookChildType:      PAGE
Notebook5*Form1.pageNumber       :      1

Notebook5*Frame1.notebookChildType:     PAGE
Notebook5*Frame1.pageNumber       :     2

Notebook5*RC1.notebookChildType:        PAGE
Notebook5*RC1.pageNumber       :        3

Notebook5*PW1.notebookChildType:        PAGE
Notebook5*PW1.pageNumber       :        4

Notebook5*BB1.notebookChildType:        PAGE
Notebook5*BB1.pageNumber       :        5


! Major Tabs
Notebook5*MajorTab1.notebookChildType:      MAJOR_TAB
Notebook5*MajorTab1.pageNumber       :      1

Notebook5*MajorTab2.notebookChildType:      MAJOR_TAB
Notebook5*MajorTab2.pageNumber       :      3

! Minor Tabs

Notebook5*MinorTab1.notebookChildType:      MINOR_TAB
Notebook5*MinorTab1.pageNumber       :      2

Notebook5*MinorTab2.notebookChildType:      MINOR_TAB
Notebook5*MinorTab2.pageNumber       :      4


! Status Areas

Notebook5*StatusArea1.notebookChildType    :      STATUS_AREA
Notebook5*StatusArea1.pageNumber       :          1

Notebook5*StatusArea2.notebookChildType    :      STATUS_AREA
Notebook5*StatusArea2.pageNumber       :          2

Notebook5*StatusArea3.notebookChildType    :      STATUS_AREA
Notebook5*StatusArea3.pageNumber       :          3

Notebook5*StatusArea4.notebookChildType    :      STATUS_AREA
Notebook5*StatusArea4.pageNumber       :          4

Notebook5*StatusArea5.notebookChildType    :      STATUS_AREA
Notebook5*StatusArea5.pageNumber       :          5

! Kids of the pages

Notebook5*FormKid1.leftAttachment :  ATTACH_FORM

Notebook5*FormKid2.rightAttachment : ATTACH_FORM
Notebook5*FormKid2.leftAttachment : ATTACH_WIDGET
Notebook5*FormKid2.leftWidget :  FormKid1


Notebook5*FormKid3.topWidget : FormKid1
Notebook5*FormKid3.bottomAttachment : ATTACH_FORM

Notebook5*FormKid4.rightAttachment : ATTACH_FORM
Notebook5*FormKid4.leftAttachment : ATTACH_WIDGET
Notebook5*FormKid4.leftWidget :  FormKid3
Notebook5*FormKid4.bottomAttachment : ATTACH_FORM


Notebook5*BBKid1.x : 10
Notebook5*BBKid1.y : 10

Notebook5*BBKid2.x : 60
Notebook5*BBKid2.y : 10

Notebook5*BBKid3.x : 10
Notebook5*BBKid3.y : 60

Notebook5*BBKid4.x : 60
Notebook5*BBKid4.y : 60






!List Items

Notebook5*ScrollList1.items : Shell1,Parent,Notebook,Frame1,Form1,RC1,BB1,PW1,FormKid1,FormKid2,FormKid3,FormKid4,FrameKid1,PWKid1,PWKid2,PWKid3,PWKid4,BBKid1,BBKid2,BBKid3,BBKid4,RCKid1,RCKid2,RCKid3,RCKid4,MajorTab1,MajorTab2,MinorTab1,MinorTab2
Notebook5*ScrollList1.itemCount : 28
Notebook5*ScrollList1.visibleItemCount : 15