~ubuntu-branches/ubuntu/wily/eso-midas/wily-proposed

« back to all changes in this revision

Viewing changes to gui/XHelp/prj/ApplicWindow.i

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
! UIMX ascii 2.0 key: 4185                                                      
 
2
*action.HelpACT: {\
 
3
 char *s;\
 
4
\
 
5
 if ((s = XmTextGetSelection(UxWidget)) == NULL) return; \
 
6
\
 
7
 if (s[0] == '/') GetHelp (s," ",1L); \
 
8
 else             GetHelp (s,"?",1L); \
 
9
 XmTextClearSelection(UxWidget,XtLastTimestampProcessed(UxDisplay));\
 
10
}
 
11
*action.WriteHelp: {\
 
12
WriteHelpAW(UxWidget);\
 
13
helpPR(UxWidget);\
 
14
\
 
15
}
 
16
*action.SelectCommand: {\
 
17
\
 
18
 extern SelHelp();\
 
19
 char *s;\
 
20
\
 
21
 if ((s = XmTextGetSelection(UxWidget)) == NULL) return; \
 
22
\
 
23
 SelHelp(s);\
 
24
\
 
25
 XmTextClearSelection(UxWidget,XtLastTimestampProcessed(UxDisplay));\
 
26
\
 
27
\
 
28
}
 
29
*action.HInit: {\
 
30
InitHelp();\
 
31
}
 
32
 
 
33
*translation.table: HelpTable
 
34
*translation.parent: ApplicWindow
 
35
*translation.policy: replace
 
36
*translation.<Btn1Up>: HelpACT()
 
37
*translation.<Btn1Down>: grab-focus()
 
38
*translation.<EnterWindow>: WriteHelp()
 
39
 
 
40
*translation.table: TextTable
 
41
*translation.parent: ApplicWindow
 
42
*translation.policy: override
 
43
*translation.<Btn1Up> : SelectCommand()
 
44
 
 
45
*translation.table: transTable10
 
46
*translation.parent: ApplicWindow
 
47
*translation.policy: override
 
48
*translation.<EnterWindow>: WriteHelp() Enter()
 
49
 
 
50
*ApplicWindow.class: applicationShell
 
51
*ApplicWindow.parent: NO_PARENT
 
52
*ApplicWindow.static: false
 
53
*ApplicWindow.gbldecl: #include <ExternResources.h>\
 
54
#include <stdio.h>\
 
55
#include <Xm/Protocols.h>\
 
56
#include <UxFsBox.h>\
 
57
#include <Xm/Text.h>\
 
58
\
 
59
/* Definitions for History mechanism */\
 
60
\
 
61
#define SIZHIST 50\
 
62
#define SIZTEXT 40\
 
63
int  ItemNumber = 0, ItemPosition = 0;\
 
64
int  DispItem = 0; \
 
65
int  Overview[2] = {1,0};\
 
66
\
 
67
char ItemHistory[SIZHIST][SIZTEXT];\
 
68
char HistList[SIZHIST*SIZTEXT];\
 
69
\
 
70
/* Variables for SelectionArray */\
 
71
\
 
72
XmTextScanType Sarray[60];\
 
73
int            SarI = 0;\
 
74
\
 
75
\
 
76
/* Include for UxPut calls on the fileSelectionBox */\
 
77
\
 
78
void CreateWindowManagerProtocols();\
 
79
void ExitCB();\
 
80
void CreateSessionManagerProtocols();\
 
81
void SaveSessionCB();\
 
82
\
 
83
extern Boolean saving;  /* declared in file selection box declarations */\
 
84
extern swidget fileSelectionDialog;\
 
85
extern swidget fileSelectionBox;\
 
86
extern swidget exitDialog;\
 
87
extern swidget create_fileSelectionDialog();\
 
88
extern swidget create_exitDialog();
 
89
*ApplicWindow.ispecdecl:
 
90
*ApplicWindow.funcdecl: swidget popup_ApplicWindow()\
 
91
 
 
92
*ApplicWindow.funcname: popup_ApplicWindow
 
93
*ApplicWindow.funcdef: "swidget", "<popup_ApplicWindow>(%)"
 
94
*ApplicWindow.icode:
 
95
*ApplicWindow.fcode: PutSelection(text1,0);\
 
96
PutSelection(text2,2);\
 
97
PutSelection(scrolledText,1);\
 
98
\
 
99
return(rtrn);\
 
100
 
 
101
*ApplicWindow.auxdecl: GetHelp(s,type,inc)\
 
102
\
 
103
char *s,*type;\
 
104
long int inc;\
 
105
\
 
106
{\
 
107
\
 
108
char  *s2;\
 
109
char  MenuItem[40], command[100], item[100];\
 
110
extern char contxt[], midvers[];\
 
111
XmString GetList();\
 
112
void     DispList(); \
 
113
\
 
114
int stat, pos, i=0;\
 
115
\
 
116
/* Store Overview Panel position */\
 
117
if (s[0] != '?'&& Overview[0] == 1) StoreOverviewPosition(0);\
 
118
\
 
119
if (type[0] == '?')\
 
120
  strcpy(MenuItem,\
 
121
     UxGetLabelString(UxFindSwidget(UxGetMenuHistory(menu1))) );\
 
122
else\
 
123
  strcpy(MenuItem,type);\
 
124
\
 
125
  if (MenuItem[0] == 'C' && MenuItem[2] == 'm' )  strcpy(command,"");\
 
126
  if (MenuItem[0] == 'A')  strcpy(command,"/APPLIC ");\
 
127
  if (MenuItem[0] == 'P')  strcpy(command,"/CL ");\
 
128
  if (MenuItem[0] == 'K')  strcpy(command,"/KEYWORD ");\
 
129
  if (MenuItem[0] == 'S')  strcpy(command,"/SUBJECT ");\
 
130
  if (MenuItem[0] == 'C' && MenuItem[2] == 'n' )  strcpy(command,"/CONTRIB ");\
 
131
\
 
132
  if (MenuItem[0] == ' ') \
 
133
               strcpy(command,"");\
 
134
\
 
135
/* \
 
136
   Filter out unallowed characters in string s \
 
137
   Allowed characters are a-z, A-Z, and _ @ $ / [] ? * and Space\
 
138
*/\
 
139
\
 
140
\
 
141
for (pos=0; pos<(int)strlen(s); pos++) {\
 
142
   if (s[pos] >= 'a' && s[pos] <= 'z')  item[i++] = s[pos];\
 
143
   if (s[pos] >= 'A' && s[pos] <= 'Z')  item[i++] = s[pos];\
 
144
   if (s[pos] == '$' || s[pos] == '_' || s[pos] == '/')\
 
145
         item[i++] = s[pos];\
 
146
   if (s[pos] == '[' || s[pos] == ']') item[i++] = s[pos];\
 
147
   if (s[pos] == '?' || s[pos] == '*') item[i++] = s[pos];\
 
148
   if (s[pos] == ' ') item[i++] = s[pos];\
 
149
   if (s[pos] == '@') item[i++] = s[pos];\
 
150
   if (s[pos] >= '0' && s[pos] <= '9') item[i++] = s[pos];\
 
151
}   \
 
152
\
 
153
item[i] = '\0';\
 
154
strcat (command,item); \
 
155
\
 
156
\
 
157
   stat = helpme(2L, midvers, command, contxt, &s2);\
 
158
\
 
159
   if (stat == 0) {\
 
160
\
 
161
    /* Display Help message */\
 
162
    XmTextSetString(UxGetWidget(scrolledText),s2); \
 
163
    XmTextSetString(UxGetWidget(SHelp),"");\
 
164
\
 
165
    /* Positions Overview Panel */\
 
166
    if (s[0] == '?') SetOverviewPosition(1);\
 
167
\
 
168
    /* Clears all highlights */\
 
169
    XmTextSetHighlight(UxGetWidget(scrolledText), 0, \
 
170
           strlen(s2), XmHIGHLIGHT_NORMAL);\
 
171
\
 
172
    /* Update History List */\
 
173
     if (inc != 0) {\
 
174
      if (item[0] != '?') \
 
175
          strcpy(ItemHistory[ItemPosition++],command);\
 
176
      if (ItemPosition == SIZHIST) ItemPosition = 0;\
 
177
      ItemNumber++;\
 
178
      DispItem = ItemNumber - 2;\
 
179
      UxPutText(text2,GetList());\
 
180
      DispItem = ItemNumber - 1; \
 
181
\
 
182
      /* Builds History List and Display it */\
 
183
      {\
 
184
      int LastItem, FirstItem=0, Item, ListPosition=0, stat;\
 
185
      char s[SIZTEXT*SIZHIST];\
 
186
\
 
187
      LastItem = ItemPosition - 1;\
 
188
      if (LastItem < 0) LastItem += SIZHIST;\
 
189
      if (ItemNumber >= SIZHIST) FirstItem = LastItem + 1; \
 
190
\
 
191
      strcpy(s,"");\
 
192
\
 
193
      for (Item = LastItem; Item>=0; Item--) {\
 
194
        strcat(s,ItemHistory[Item]);\
 
195
        strcat(&s[ListPosition],"\n");\
 
196
        } \
 
197
  \
 
198
      if (ItemNumber >= SIZHIST) {\
 
199
      for (Item = SIZHIST-1; Item >= FirstItem; Item--) {\
 
200
          strcat(s,ItemHistory[Item]);\
 
201
          strcat(&s[ListPosition],"\n");\
 
202
          } \
 
203
       }      \
 
204
\
 
205
       DispList(s);\
 
206
       }\
 
207
 \
 
208
     }\
 
209
   }\
 
210
   else\
 
211
     XmTextSetString(UxGetWidget(SHelp),s2); \
 
212
\
 
213
/*{ End of if (s != 0) { */\
 
214
\
 
215
}\
 
216
\
 
217
\
 
218
InitHelp()\
 
219
\
 
220
{\
 
221
\
 
222
 GetHelp("?","?",0L);\
 
223
 XmTextSetString(UxGetWidget(text1),"");\
 
224
\
 
225
}\
 
226
\
 
227
SearchHelp(s,dir)\
 
228
\
 
229
char *s;\
 
230
long int dir;\
 
231
\
 
232
{\
 
233
\
 
234
/* SearchHelp should strip leading and trailing blanks */\
 
235
\
 
236
char *HText;\
 
237
Widget SText;\
 
238
\
 
239
XmTextPosition PosText = 0;\
 
240
\
 
241
int LText;\
 
242
int relpos; /* Relative position */\
 
243
\
 
244
HText = UxGetText(scrolledText);\
 
245
SText = UxGetWidget(scrolledText);\
 
246
\
 
247
/* Initialisations */\
 
248
\
 
249
LText    = strlen(HText);\
 
250
XmTextSetHighlight(SText, 0, LText, XmHIGHLIGHT_NORMAL);\
 
251
\
 
252
/* Set all characters to upper case for case insensitivity */\
 
253
\
 
254
for (PosText=0; PosText<LText; PosText++) \
 
255
          HText[PosText] = toupper(HText[PosText]); \
 
256
\
 
257
for (PosText=0; PosText<(int)strlen(s); PosText++) \
 
258
          s[PosText] = toupper(s[PosText]); \
 
259
\
 
260
PosText = 0;\
 
261
\
 
262
/* If Show, shows all occurences */\
 
263
\
 
264
if (dir > 0) {\
 
265
\
 
266
   relpos  = strindex(HText,s);\
 
267
\
 
268
   if (relpos == LText) \
 
269
       XmTextSetString(UxGetWidget(SHelp),"Pattern not found");\
 
270
   else\
 
271
       XmTextShowPosition(SText,(XmTextPosition) relpos);  \
 
272
 \
 
273
   while (relpos != LText) {\
 
274
\
 
275
     PosText += relpos;\
 
276
\
 
277
     XmTextSetHighlight(SText,PosText,\
 
278
             PosText+strlen(s),XmHIGHLIGHT_SELECTED);\
 
279
\
 
280
     PosText++;\
 
281
\
 
282
     LText    = strlen(HText+PosText);\
 
283
     relpos   = strindex(HText+PosText,s);\
 
284
\
 
285
    }\
 
286
  }\
 
287
}\
 
288
\
 
289
XmString GetList()\
 
290
\
 
291
{\
 
292
\
 
293
\
 
294
int n;\
 
295
int quotient, module, minitem;\
 
296
\
 
297
n = DispItem;\
 
298
\
 
299
if (n >= ItemNumber)       n = ItemNumber-1;\
 
300
\
 
301
if (ItemNumber < SIZHIST)  minitem = 0;\
 
302
else                       minitem = ItemNumber - SIZHIST;\
 
303
\
 
304
if (n <  minitem)  n = minitem;\
 
305
\
 
306
DispItem = n;\
 
307
\
 
308
quotient = (int) n/SIZHIST;\
 
309
module = n - quotient*SIZHIST;\
 
310
\
 
311
return( (XmString) (ItemHistory+module) );\
 
312
\
 
313
}\
 
314
\
 
315
SelHelp(s)\
 
316
\
 
317
char *s;\
 
318
\
 
319
{\
 
320
\
 
321
if (s[0] == '/') {\
 
322
\
 
323
   if (toupper(s[1]) == 'A') \
 
324
         UxPutMenuHistory(menu1,"menu1_p1_b2"); /* APPLIC */\
 
325
\
 
326
\
 
327
   if (toupper(s[1]) == 'C') \
 
328
         UxPutMenuHistory(menu1,"menu1_p1_b3");  /*  CL */\
 
329
\
 
330
   if (toupper(s[1]) == 'K') \
 
331
         UxPutMenuHistory(menu1,"menu1_p1_b4");  /*  KEYWORD */\
 
332
\
 
333
   if (toupper(s[1]) == 'S') \
 
334
         UxPutMenuHistory(menu1,"menu1_p1_b6");  /*  SUBJECT */\
 
335
\
 
336
   GetHelp(s," ",0L);\
 
337
   }\
 
338
else  {\
 
339
   UxPutMenuHistory(menu1,"menu1_p1_b1");\
 
340
   GetHelp(s,"?",0L);\
 
341
   }\
 
342
}\
 
343
\
 
344
PutSelection(sw, mode)\
 
345
\
 
346
swidget sw;\
 
347
int     mode;\
 
348
\
 
349
{\
 
350
        XmTextScanType *array;\
 
351
        Arg            args[2];\
 
352
        int            n = 0, i;\
 
353
        Widget         wid;\
 
354
\
 
355
        wid = UxGetWidget(sw);\
 
356
\
 
357
        XtSetArg(args[n], XmNselectionArray,  &array), n++;\
 
358
        XtGetValues(wid , args, n);\
 
359
 \
 
360
        /* printf("SarI, Widget ID: %i , %i \n",SarI,wid); */\
 
361
\
 
362
          for (i=0; i<=3; i++) \
 
363
            Sarray[SarI+i] = array[i];\
 
364
\
 
365
/*      for (i=0; i<=3; i++) {\
 
366
         if (array[i] == XmSELECT_POSITION) printf("%d : Position\n",i);\
 
367
         if (array[i] == XmSELECT_WORD)     printf("%d : Word\n",i);\
 
368
         if (array[i] == XmSELECT_LINE)     printf("%d : Line\n",i);\
 
369
         if (array[i] == XmSELECT_ALL)      printf("%d : All\n",i);\
 
370
       }\
 
371
*/\
 
372
\
 
373
        for (i=0; i<=3; i++)\
 
374
           Sarray[SarI+i] = Sarray[SarI+mode];\
 
375
\
 
376
        n = 0;\
 
377
        XtSetArg(args[n], XmNselectionArray,  (Sarray+SarI)), n++;\
 
378
        XtSetValues(wid , args, n);\
 
379
        SarI += 4;\
 
380
}\
 
381
\
 
382
SensMenu(mode)\
 
383
\
 
384
int  mode;\
 
385
{\
 
386
if (mode == 0) XtSetSensitive(UxGetWidget(SysEntry),FALSE);\
 
387
if (mode == 1) XtSetSensitive(UxGetWidget(SysEntry),TRUE);\
 
388
}\
 
389
\
 
390
WriteHelpAW(UxWidget)\
 
391
\
 
392
Widget UxWidget;\
 
393
{\
 
394
char s[100];\
 
395
extern char print_com[];\
 
396
\
 
397
strcpy(s,"");\
 
398
\
 
399
if (UxWidget == UxGetWidget(CommandButton))\
 
400
   strcpy(s,"Display an overview of the commands");\
 
401
\
 
402
if (UxWidget == UxGetWidget(HistoButton))\
 
403
   strcpy(s,"Popup the history list of previously queried commands");\
 
404
\
 
405
if (UxWidget == UxGetWidget(SearchButton))\
 
406
   strcpy(s,"Search strings in help file");\
 
407
\
 
408
if (UxWidget == UxGetWidget(NewsButton))\
 
409
   strcpy(s,"Display Release News");\
 
410
\
 
411
if (UxWidget == UxGetWidget(PrintButton))\
 
412
   sprintf(s,"Send help message to the printer. (Command: cat <file> | %s)\n",\
 
413
           print_com);\
 
414
\
 
415
if (UxWidget == UxGetWidget(ReportButton))\
 
416
   strcpy(s,"Popup the problem report form");\
 
417
\
 
418
if (UxWidget == UxGetWidget(CtxButton))\
 
419
   strcpy(s,"Popup the context selection form");\
 
420
\
 
421
if (UxWidget == UxGetWidget(text1))\
 
422
   strcpy(s,"Commands names can be typed in this area. (Get help by Return)");\
 
423
\
 
424
if (UxWidget == UxGetWidget(text2))\
 
425
   strcpy(s,"Non editable area. Displays previous command. Click to select.");\
 
426
\
 
427
if (UxWidget == UxGetWidget(scrolledWindow))\
 
428
   strcpy(s,"Help files display area");\
 
429
\
 
430
if (UxWidget == UxGetWidget(arrowButton2))\
 
431
   strcpy(s,"Moves forward in the history list of commands");\
 
432
\
 
433
if (UxWidget == UxGetWidget(arrowButton1))\
 
434
   strcpy(s,"Moves backward in the history list of commands");\
 
435
\
 
436
if (UxWidget == UxGetWidget(scrolledText))\
 
437
   strcpy(s,"Point and Click in this area to access help files");\
 
438
\
 
439
\
 
440
if (UxWidget == UxGetWidget(menu1))\
 
441
   strcpy(s,"Information mode");\
 
442
\
 
443
if (UxWidget == UxGetWidget(commandsCascade))\
 
444
   strcpy(s,"Setup options and Exit");\
 
445
\
 
446
XmTextSetString(UxGetWidget(SHelp),s);\
 
447
\
 
448
}\
 
449
\
 
450
MapRaised(sw)\
 
451
\
 
452
swidget sw;\
 
453
{\
 
454
Window xw;\
 
455
xw = XtWindow(UxGetWidget(sw));\
 
456
XMapRaised(UxDisplay, xw);\
 
457
}\
 
458
\
 
459
StoreOverviewPosition(mode)\
 
460
int mode;\
 
461
{\
 
462
/* Store Overview Panel position */\
 
463
    Overview[0] = mode;\
 
464
    Overview[1] = (int) XmTextGetTopCharacter(UxGetWidget(scrolledText));\
 
465
}\
 
466
\
 
467
SetOverviewPosition(mode)\
 
468
int mode;\
 
469
{\
 
470
/* Positions Overview Panel */\
 
471
     Overview[0] = mode;\
 
472
     XmTextSetTopCharacter(UxGetWidget(scrolledText),\
 
473
                        (XmTextPosition) Overview[1]);\
 
474
}\
 
475
 
 
476
*ApplicWindow.name: ApplicWindow
 
477
*ApplicWindow.x: 550
 
478
*ApplicWindow.y: 577
 
479
*ApplicWindow.width: 700
 
480
*ApplicWindow.height: 600
 
481
*ApplicWindow.title: "XHelp"
 
482
*ApplicWindow.deleteResponse: "do_nothing"
 
483
*ApplicWindow.keyboardFocusPolicy.source: public
 
484
*ApplicWindow.keyboardFocusPolicy: "pointer"
 
485
*ApplicWindow.iconName: "XHelp"
 
486
*ApplicWindow.popupCallback: {\
 
487
\
 
488
}
 
489
*ApplicWindow.background: WindowBackground
 
490
*ApplicWindow.geometry: "700x480+30+30"
 
491
 
 
492
*mainWindow.class: mainWindow
 
493
*mainWindow.parent: ApplicWindow
 
494
*mainWindow.static: true
 
495
*mainWindow.name: mainWindow
 
496
*mainWindow.x: 200
 
497
*mainWindow.y: 180
 
498
*mainWindow.width: 700
 
499
*mainWindow.height: 470
 
500
*mainWindow.background: WindowBackground
 
501
 
 
502
*pullDownMenu.class: rowColumn
 
503
*pullDownMenu.parent: mainWindow
 
504
*pullDownMenu.static: true
 
505
*pullDownMenu.name: pullDownMenu
 
506
*pullDownMenu.borderWidth: 0
 
507
*pullDownMenu.menuHelpWidget: ""
 
508
*pullDownMenu.rowColumnType: "menu_bar"
 
509
*pullDownMenu.menuAccelerator: "<KeyUp>F10"
 
510
*pullDownMenu.background: MenuBackground
 
511
*pullDownMenu.foreground: MenuForeground
 
512
 
 
513
*UtilsPane.class: rowColumn
 
514
*UtilsPane.parent: pullDownMenu
 
515
*UtilsPane.static: true
 
516
*UtilsPane.name: UtilsPane
 
517
*UtilsPane.rowColumnType: "menu_pulldown"
 
518
*UtilsPane.background: MenuBackground
 
519
*UtilsPane.foreground: MenuForeground
 
520
 
 
521
*SysEntry.class: pushButtonGadget
 
522
*SysEntry.parent: UtilsPane
 
523
*SysEntry.static: true
 
524
*SysEntry.name: SysEntry
 
525
*SysEntry.labelString: "Print & Mail..."
 
526
*SysEntry.mnemonic: "S"
 
527
*SysEntry.fontList: BoldTextFont
 
528
*SysEntry.accelerator: "S"
 
529
*SysEntry.activateCallback: {\
 
530
extern swidget sys; \
 
531
UxPopupInterface(sys,no_grab);\
 
532
MapRaised(sys);\
 
533
}
 
534
 
 
535
*UtilsPane_b2.class: pushButtonGadget
 
536
*UtilsPane_b2.parent: UtilsPane
 
537
*UtilsPane_b2.static: true
 
538
*UtilsPane_b2.name: UtilsPane_b2
 
539
*UtilsPane_b2.labelString: "Exit"
 
540
*UtilsPane_b2.activateCallback: {\
 
541
close_monit_connection();\
 
542
exit(0);\
 
543
}
 
544
*UtilsPane_b2.fontList: BoldTextFont
 
545
*UtilsPane_b2.mnemonic: "E"
 
546
 
 
547
*commandsCascade.class: cascadeButton
 
548
*commandsCascade.parent: pullDownMenu
 
549
*commandsCascade.static: true
 
550
*commandsCascade.name: commandsCascade
 
551
*commandsCascade.labelString: "File"
 
552
*commandsCascade.subMenuId: "UtilsPane"
 
553
*commandsCascade.background: MenuBackground
 
554
*commandsCascade.fontList: BoldTextFont
 
555
*commandsCascade.foreground: MenuForeground
 
556
*commandsCascade.mnemonic: "F"
 
557
*commandsCascade.x: 101
 
558
*commandsCascade.translations: transTable10
 
559
 
 
560
*workAreaForm.class: form
 
561
*workAreaForm.parent: mainWindow
 
562
*workAreaForm.static: true
 
563
*workAreaForm.name: workAreaForm
 
564
*workAreaForm.width: 490
 
565
*workAreaForm.height: 440
 
566
*workAreaForm.borderWidth: 0
 
567
*workAreaForm.background: WindowBackground
 
568
 
 
569
*workAreaFrame.class: frame
 
570
*workAreaFrame.parent: workAreaForm
 
571
*workAreaFrame.static: true
 
572
*workAreaFrame.name: workAreaFrame
 
573
*workAreaFrame.x: 50
 
574
*workAreaFrame.y: 30
 
575
*workAreaFrame.width: 390
 
576
*workAreaFrame.height: 230
 
577
*workAreaFrame.bottomAttachment: "attach_form"
 
578
*workAreaFrame.bottomOffset.source: public
 
579
*workAreaFrame.bottomOffset: 0
 
580
*workAreaFrame.leftAttachment: "attach_form"
 
581
*workAreaFrame.leftOffset.source: public
 
582
*workAreaFrame.leftOffset: 0
 
583
*workAreaFrame.rightAttachment: "attach_form"
 
584
*workAreaFrame.rightOffset.source: public
 
585
*workAreaFrame.rightOffset: 0
 
586
*workAreaFrame.topAttachment: "attach_form"
 
587
*workAreaFrame.topOffset: 0
 
588
*workAreaFrame.background: WindowBackground
 
589
 
 
590
*workArea.class: form
 
591
*workArea.parent: workAreaFrame
 
592
*workArea.static: true
 
593
*workArea.name: workArea
 
594
*workArea.x: 20
 
595
*workArea.y: 2
 
596
*workArea.width: 408
 
597
*workArea.height: 498
 
598
*workArea.borderWidth: 0
 
599
*workArea.createCallback: {\
 
600
\
 
601
}
 
602
*workArea.mapCallback: {\
 
603
\
 
604
}
 
605
*workArea.background: WindowBackground
 
606
*workArea.borderColor: WindowBackground
 
607
*workArea.marginHeight: 5
 
608
*workArea.marginWidth: 5
 
609
 
 
610
*scrolledWindow.class: scrolledWindow
 
611
*scrolledWindow.parent: workArea
 
612
*scrolledWindow.static: true
 
613
*scrolledWindow.name: scrolledWindow
 
614
*scrolledWindow.scrollingPolicy: "application_defined"
 
615
*scrolledWindow.x: 8
 
616
*scrolledWindow.y: 20
 
617
*scrolledWindow.visualPolicy: "variable"
 
618
*scrolledWindow.scrollBarDisplayPolicy: "static"
 
619
*scrolledWindow.shadowThickness: 0
 
620
*scrolledWindow.height: 270
 
621
*scrolledWindow.width: 490
 
622
*scrolledWindow.background: ApplicBackground
 
623
*scrolledWindow.bottomAttachment: "attach_form"
 
624
*scrolledWindow.bottomOffset: 135
 
625
*scrolledWindow.leftAttachment: "attach_form"
 
626
*scrolledWindow.leftOffset: 5
 
627
*scrolledWindow.rightAttachment: "attach_form"
 
628
*scrolledWindow.rightOffset: 5
 
629
*scrolledWindow.topAttachment: "attach_form"
 
630
*scrolledWindow.topOffset: 5
 
631
 
 
632
*scrolledText.class: scrolledText
 
633
*scrolledText.parent: scrolledWindow
 
634
*scrolledText.static: true
 
635
*scrolledText.name: scrolledText
 
636
*scrolledText.width: 670
 
637
*scrolledText.height: 220
 
638
*scrolledText.background: "WhiteSmoke"
 
639
*scrolledText.x: 0
 
640
*scrolledText.y: 0
 
641
*scrolledText.editable: "false"
 
642
*scrolledText.scrollHorizontal: "true"
 
643
*scrolledText.scrollVertical: "true"
 
644
*scrolledText.editMode: "multi_line_edit"
 
645
*scrolledText.foreground: TextForeground
 
646
*scrolledText.highlightColor: "black"
 
647
*scrolledText.fontList: SmallFont
 
648
*scrolledText.translations: HelpTable
 
649
*scrolledText.createCallback: {\
 
650
char *s;\
 
651
extern char contxt[],midvers[];\
 
652
\
 
653
helpme (2L, midvers, "?" , contxt, &s);\
 
654
XmTextSetString(UxWidget,s);\
 
655
\
 
656
}
 
657
*scrolledText.text: "This is my help, \nhelp, \nhelp...\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n End of Text"
 
658
*scrolledText.motionVerifyCallback: {\
 
659
\
 
660
}
 
661
*scrolledText.valueChangedCallback: {\
 
662
\
 
663
}
 
664
 
 
665
*menu1.class: rowColumn
 
666
*menu1.parent: workArea
 
667
*menu1.static: true
 
668
*menu1.name: menu1
 
669
*menu1.rowColumnType: "menu_option"
 
670
*menu1.subMenuId: "menu1_p1"
 
671
*menu1.background: ApplicBackground
 
672
*menu1.foreground: TextForeground
 
673
*menu1.leftAttachment: "attach_form"
 
674
*menu1.leftOffset: 75
 
675
*menu1.topAttachment: "attach_widget"
 
676
*menu1.topOffset: 10
 
677
*menu1.topWidget: "scrolledWindow"
 
678
*menu1.width: 200
 
679
*menu1.translations: transTable10
 
680
*menu1.entryCallback: {\
 
681
printf("Hello\n");\
 
682
}
 
683
*menu1.height: 10
 
684
*menu1.labelString: ""
 
685
 
 
686
*menu1_p1.class: rowColumn
 
687
*menu1_p1.parent: menu1
 
688
*menu1_p1.static: true
 
689
*menu1_p1.name: menu1_p1
 
690
*menu1_p1.rowColumnType: "menu_pulldown"
 
691
*menu1_p1.background: TextBackground
 
692
*menu1_p1.foreground: TextForeground
 
693
*menu1_p1.topShadowColor: "White"
 
694
*menu1_p1.translations: ""
 
695
*menu1_p1.entryCallback: {\
 
696
Overview[1] = 0;\
 
697
\
 
698
}
 
699
 
 
700
*menu1_p1_b1.class: pushButtonGadget
 
701
*menu1_p1_b1.parent: menu1_p1
 
702
*menu1_p1_b1.static: true
 
703
*menu1_p1_b1.name: menu1_p1_b1
 
704
*menu1_p1_b1.labelString: "Commands"
 
705
*menu1_p1_b1.fontList: TextFont
 
706
*menu1_p1_b1.activateCallback: {\
 
707
InitHelp();\
 
708
}
 
709
*menu1_p1_b1.mnemonic: "C"
 
710
 
 
711
*menu1_p1_b2.class: pushButtonGadget
 
712
*menu1_p1_b2.parent: menu1_p1
 
713
*menu1_p1_b2.static: true
 
714
*menu1_p1_b2.name: menu1_p1_b2
 
715
*menu1_p1_b2.labelString: "Applications"
 
716
*menu1_p1_b2.fontList: TextFont
 
717
*menu1_p1_b2.activateCallback: InitHelp();
 
718
*menu1_p1_b2.mnemonic: "A"
 
719
 
 
720
*menu1_p1_b3.class: pushButtonGadget
 
721
*menu1_p1_b3.parent: menu1_p1
 
722
*menu1_p1_b3.static: true
 
723
*menu1_p1_b3.name: menu1_p1_b3
 
724
*menu1_p1_b3.labelString: "Procedure Lang."
 
725
*menu1_p1_b3.fontList: TextFont
 
726
*menu1_p1_b3.activateCallback: {\
 
727
InitHelp();\
 
728
\
 
729
}
 
730
*menu1_p1_b3.mnemonic: "P"
 
731
 
 
732
*menu1_p1_b4.class: pushButtonGadget
 
733
*menu1_p1_b4.parent: menu1_p1
 
734
*menu1_p1_b4.static: true
 
735
*menu1_p1_b4.name: menu1_p1_b4
 
736
*menu1_p1_b4.labelString: "Keywords"
 
737
*menu1_p1_b4.fontList: TextFont
 
738
*menu1_p1_b4.activateCallback: InitHelp();
 
739
*menu1_p1_b4.mnemonic: "K"
 
740
 
 
741
*menu1_p1_b6.class: pushButtonGadget
 
742
*menu1_p1_b6.parent: menu1_p1
 
743
*menu1_p1_b6.static: true
 
744
*menu1_p1_b6.name: menu1_p1_b6
 
745
*menu1_p1_b6.labelString: "Subjects"
 
746
*menu1_p1_b6.fontList: TextFont
 
747
*menu1_p1_b6.activateCallback: InitHelp();
 
748
*menu1_p1_b6.mnemonic: "S"
 
749
 
 
750
*menu1_p1_b7.class: pushButtonGadget
 
751
*menu1_p1_b7.parent: menu1_p1
 
752
*menu1_p1_b7.static: true
 
753
*menu1_p1_b7.name: menu1_p1_b7
 
754
*menu1_p1_b7.labelString: "Contributions"
 
755
*menu1_p1_b7.activateCallback: {InitHelp();}
 
756
*menu1_p1_b7.mnemonic: "t"
 
757
*menu1_p1_b7.fontList: TextFont
 
758
 
 
759
*text1.class: text
 
760
*text1.parent: workArea
 
761
*text1.static: true
 
762
*text1.name: text1
 
763
*text1.x: 20
 
764
*text1.y: 320
 
765
*text1.width: 325
 
766
*text1.height: 40
 
767
*text1.background: TextBackground
 
768
*text1.foreground: TextForeground
 
769
*text1.highlightColor: "Black"
 
770
*text1.fontList: BoldTextFont
 
771
*text1.cursorPositionVisible: "true"
 
772
*text1.translations: ""
 
773
*text1.activateCallback: {\
 
774
char *s;\
 
775
extern SelHelp();\
 
776
\
 
777
s = XmTextGetString(UxWidget);\
 
778
\
 
779
GetHelp(s,"?",1L);\
 
780
\
 
781
}
 
782
*text1.pendingDelete: "true"
 
783
*text1.blinkRate: 500
 
784
*text1.editMode: "single_line_edit"
 
785
*text1.highlightOnEnter: "true"
 
786
*text1.wordWrap: "false"
 
787
*text1.accelerators: ""
 
788
*text1.bottomOffset: 0
 
789
*text1.leftAttachment: "attach_widget"
 
790
*text1.leftOffset: 5
 
791
*text1.rightAttachment: "attach_form"
 
792
*text1.rightOffset: 270
 
793
*text1.topAttachment: "attach_widget"
 
794
*text1.topOffset: 5
 
795
*text1.topWidget: "scrolledWindow"
 
796
*text1.leftWidget: "menu1"
 
797
 
 
798
*SHelp.class: text
 
799
*SHelp.parent: workArea
 
800
*SHelp.static: true
 
801
*SHelp.name: SHelp
 
802
*SHelp.x: 30
 
803
*SHelp.y: 380
 
804
*SHelp.width: 325
 
805
*SHelp.height: 40
 
806
*SHelp.background: SHelpBackground
 
807
*SHelp.foreground: TextForeground
 
808
*SHelp.highlightColor: ApplicBackground
 
809
*SHelp.fontList: TextFont
 
810
*SHelp.cursorPositionVisible: "true"
 
811
*SHelp.translations: ""
 
812
*SHelp.activateCallback: {\
 
813
char  *s1;\
 
814
char  *s2;\
 
815
extern char contxt[], midvers[];\
 
816
\
 
817
s1 = XmTextGetString(UxWidget);\
 
818
helpme(2L, midvers, s1, contxt, &s2); \
 
819
XmTextSetString(UxGetWidget(scrolledText),s2);\
 
820
\
 
821
}
 
822
*SHelp.pendingDelete: "true"
 
823
*SHelp.blinkRate: 500
 
824
*SHelp.editMode: "single_line_edit"
 
825
*SHelp.highlightOnEnter: "true"
 
826
*SHelp.wordWrap: "false"
 
827
*SHelp.accelerators: ""
 
828
*SHelp.leftAttachment: "attach_form"
 
829
*SHelp.leftOffset: 5
 
830
*SHelp.rightAttachment: "attach_form"
 
831
*SHelp.rightOffset: 5
 
832
*SHelp.topAttachment: "attach_widget"
 
833
*SHelp.topOffset: 5
 
834
*SHelp.topWidget: "text1"
 
835
*SHelp.bottomAttachment: "attach_form"
 
836
*SHelp.bottomOffset: 45
 
837
 
 
838
*CommandButton.class: pushButton
 
839
*CommandButton.parent: workArea
 
840
*CommandButton.static: true
 
841
*CommandButton.name: CommandButton
 
842
*CommandButton.x: 20
 
843
*CommandButton.y: 380
 
844
*CommandButton.width: 90
 
845
*CommandButton.height: 30
 
846
*CommandButton.background: ButtonBackground
 
847
*CommandButton.labelString: "Overview"
 
848
*CommandButton.foreground: ButtonForeground
 
849
*CommandButton.fontList: BoldTextFont
 
850
*CommandButton.activateCallback: {\
 
851
InitHelp();\
 
852
}
 
853
*CommandButton.recomputeSize: "false"
 
854
*CommandButton.leftAttachment: "attach_form"
 
855
*CommandButton.leftOffset: 10
 
856
*CommandButton.topAttachment: "attach_widget"
 
857
*CommandButton.topOffset: 5
 
858
*CommandButton.topWidget: "SHelp"
 
859
*CommandButton.highlightColor: "Black"
 
860
*CommandButton.bottomAttachment: "attach_form"
 
861
*CommandButton.bottomOffset: 5
 
862
*CommandButton.mnemonic: ""
 
863
 
 
864
*HistoButton.class: pushButton
 
865
*HistoButton.parent: workArea
 
866
*HistoButton.static: true
 
867
*HistoButton.name: HistoButton
 
868
*HistoButton.x: 110
 
869
*HistoButton.y: 380
 
870
*HistoButton.width: 90
 
871
*HistoButton.height: 30
 
872
*HistoButton.background: ButtonBackground
 
873
*HistoButton.labelString: "History.."
 
874
*HistoButton.fontList: BoldTextFont
 
875
*HistoButton.foreground: ButtonForeground
 
876
*HistoButton.activateCallback: {\
 
877
extern swidget hist;\
 
878
\
 
879
\
 
880
UxPopupInterface(hist,no_grab);\
 
881
MapRaised(hist);\
 
882
\
 
883
}
 
884
*HistoButton.recomputeSize: "false"
 
885
*HistoButton.highlightColor: "Black"
 
886
*HistoButton.bottomAttachment: "attach_form"
 
887
*HistoButton.bottomOffset: 5
 
888
*HistoButton.leftAttachment: "attach_widget"
 
889
*HistoButton.leftOffset: 10
 
890
*HistoButton.leftWidget: "CommandButton"
 
891
*HistoButton.topAttachment: "attach_widget"
 
892
*HistoButton.topOffset: 5
 
893
*HistoButton.topWidget: "SHelp"
 
894
*HistoButton.mnemonic: ""
 
895
 
 
896
*SearchButton.class: pushButton
 
897
*SearchButton.parent: workArea
 
898
*SearchButton.static: true
 
899
*SearchButton.name: SearchButton
 
900
*SearchButton.x: 110
 
901
*SearchButton.y: 380
 
902
*SearchButton.width: 90
 
903
*SearchButton.height: 30
 
904
*SearchButton.background: ButtonBackground
 
905
*SearchButton.labelString: "Search.."
 
906
*SearchButton.fontList: BoldTextFont
 
907
*SearchButton.foreground: ButtonForeground
 
908
*SearchButton.activateCallback: {\
 
909
extern swidget srch;\
 
910
\
 
911
UxPopupInterface(srch,no_grab);\
 
912
MapRaised(srch);\
 
913
\
 
914
}
 
915
*SearchButton.recomputeSize: "false"
 
916
*SearchButton.highlightColor: "Black"
 
917
*SearchButton.bottomAttachment: "attach_form"
 
918
*SearchButton.bottomOffset: 5
 
919
*SearchButton.topAttachment: "attach_widget"
 
920
*SearchButton.topOffset: 5
 
921
*SearchButton.topWidget: "SHelp"
 
922
*SearchButton.leftAttachment: "attach_widget"
 
923
*SearchButton.leftOffset: 10
 
924
*SearchButton.leftWidget: "HistoButton"
 
925
*SearchButton.mnemonic: ""
 
926
 
 
927
*NewsButton.class: pushButton
 
928
*NewsButton.parent: workArea
 
929
*NewsButton.static: true
 
930
*NewsButton.name: NewsButton
 
931
*NewsButton.x: 180
 
932
*NewsButton.y: 330
 
933
*NewsButton.width: 90
 
934
*NewsButton.height: 30
 
935
*NewsButton.background: ButtonBackground
 
936
*NewsButton.labelString: "News"
 
937
*NewsButton.foreground: ButtonForeground
 
938
*NewsButton.fontList: BoldTextFont
 
939
*NewsButton.activateCallback: {\
 
940
GetHelp("[News]","C",0L);\
 
941
}
 
942
*NewsButton.recomputeSize: "false"
 
943
*NewsButton.topAttachment: "attach_widget"
 
944
*NewsButton.topOffset: 5
 
945
*NewsButton.topWidget: "SHelp"
 
946
*NewsButton.leftAttachment: "attach_widget"
 
947
*NewsButton.leftOffset: 5
 
948
*NewsButton.leftWidget: "SearchButton"
 
949
*NewsButton.highlightColor: "Black"
 
950
*NewsButton.bottomAttachment: "attach_form"
 
951
*NewsButton.bottomOffset: 5
 
952
*NewsButton.mnemonic: ""
 
953
 
 
954
*PrintButton.class: pushButton
 
955
*PrintButton.parent: workArea
 
956
*PrintButton.static: true
 
957
*PrintButton.name: PrintButton
 
958
*PrintButton.x: 280
 
959
*PrintButton.y: 330
 
960
*PrintButton.width: 90
 
961
*PrintButton.height: 30
 
962
*PrintButton.background: ButtonBackground
 
963
*PrintButton.labelString: "Print"
 
964
*PrintButton.foreground: ButtonForeground
 
965
*PrintButton.fontList: BoldTextFont
 
966
*PrintButton.activateCallback: {\
 
967
 extern char filename[], print_com[];\
 
968
 char command[100];\
 
969
 FILE *fp;\
 
970
\
 
971
 fp = fopen(filename,"w"); \
 
972
\
 
973
 fprintf(fp,"%s\n",XmTextGetString(UxGetWidget(scrolledText)));\
 
974
\
 
975
 fclose(fp);\
 
976
\
 
977
 sprintf(command,"cat %s | %s ; rm %s\n",\
 
978
       filename,print_com,filename);\
 
979
\
 
980
 system(command);\
 
981
\
 
982
 UxPutText(SHelp,"Help file sent to printer.");\
 
983
\
 
984
\
 
985
}
 
986
*PrintButton.recomputeSize: "false"
 
987
*PrintButton.topAttachment: "attach_widget"
 
988
*PrintButton.topOffset: 5
 
989
*PrintButton.topWidget: "SHelp"
 
990
*PrintButton.leftAttachment: "attach_widget"
 
991
*PrintButton.leftOffset: 5
 
992
*PrintButton.leftWidget: "NewsButton"
 
993
*PrintButton.highlightColor: "Black"
 
994
*PrintButton.bottomAttachment: "attach_form"
 
995
*PrintButton.bottomOffset: 5
 
996
*PrintButton.mnemonic: ""
 
997
 
 
998
*ReportButton.class: pushButton
 
999
*ReportButton.parent: workArea
 
1000
*ReportButton.static: true
 
1001
*ReportButton.name: ReportButton
 
1002
*ReportButton.x: 430
 
1003
*ReportButton.y: 330
 
1004
*ReportButton.width: 90
 
1005
*ReportButton.height: 30
 
1006
*ReportButton.background: ButtonBackground
 
1007
*ReportButton.labelString: "Feedback.."
 
1008
*ReportButton.foreground: ButtonForeground
 
1009
*ReportButton.fontList: BoldTextFont
 
1010
*ReportButton.activateCallback: {\
 
1011
extern swidget pb;\
 
1012
\
 
1013
UxPopupInterface(pb,no_grab);\
 
1014
MapRaised(pb);\
 
1015
SensMenu(0);\
 
1016
\
 
1017
}
 
1018
*ReportButton.recomputeSize: "false"
 
1019
*ReportButton.highlightColor: "Black"
 
1020
*ReportButton.leftAttachment: "attach_widget"
 
1021
*ReportButton.leftOffset: 5
 
1022
*ReportButton.leftWidget: "PrintButton"
 
1023
*ReportButton.topAttachment: "attach_widget"
 
1024
*ReportButton.topOffset: 5
 
1025
*ReportButton.topWidget: "SHelp"
 
1026
*ReportButton.bottomAttachment: "attach_form"
 
1027
*ReportButton.bottomOffset: 5
 
1028
*ReportButton.mnemonic: ""
 
1029
 
 
1030
*CtxButton.class: pushButton
 
1031
*CtxButton.parent: workArea
 
1032
*CtxButton.static: true
 
1033
*CtxButton.name: CtxButton
 
1034
*CtxButton.x: 430
 
1035
*CtxButton.y: 330
 
1036
*CtxButton.width: 90
 
1037
*CtxButton.height: 30
 
1038
*CtxButton.background: ButtonBackground
 
1039
*CtxButton.labelString: "Contexts.."
 
1040
*CtxButton.foreground: ButtonForeground
 
1041
*CtxButton.fontList: BoldTextFont
 
1042
*CtxButton.activateCallback: {\
 
1043
extern swidget ctx;\
 
1044
extern char contxt[], nctx[];\
 
1045
\
 
1046
strred(contxt);\
 
1047
strtrs(nctx,contxt," ","\n");\
 
1048
convert(contxt,nctx);\
 
1049
\
 
1050
UxPopupInterface(ctx,no_grab);\
 
1051
MapRaised(ctx);\
 
1052
\
 
1053
}
 
1054
*CtxButton.recomputeSize: "false"
 
1055
*CtxButton.highlightColor: "Black"
 
1056
*CtxButton.bottomAttachment: "attach_form"
 
1057
*CtxButton.bottomOffset: 5
 
1058
*CtxButton.leftAttachment: "attach_widget"
 
1059
*CtxButton.leftOffset: 5
 
1060
*CtxButton.leftWidget: "ReportButton"
 
1061
*CtxButton.topAttachment: "attach_widget"
 
1062
*CtxButton.topOffset: 5
 
1063
*CtxButton.topWidget: "SHelp"
 
1064
*CtxButton.mnemonic: ""
 
1065
 
 
1066
*textField5.class: textField
 
1067
*textField5.parent: workArea
 
1068
*textField5.static: true
 
1069
*textField5.name: textField5
 
1070
*textField5.x: 30
 
1071
*textField5.y: 310
 
1072
*textField5.width: 70
 
1073
*textField5.height: 35
 
1074
*textField5.topAttachment: "attach_widget"
 
1075
*textField5.topOffset: 12
 
1076
*textField5.topWidget: "scrolledWindow"
 
1077
*textField5.leftAttachment: "attach_form"
 
1078
*textField5.leftOffset: 10
 
1079
*textField5.background: WindowBackground
 
1080
*textField5.fontList: BoldTextFont
 
1081
*textField5.text: "Info on:"
 
1082
*textField5.bottomShadowColor: WindowBackground
 
1083
*textField5.topShadowColor: WindowBackground
 
1084
*textField5.cursorPositionVisible: "false"
 
1085
*textField5.editable: "false"
 
1086
*textField5.highlightColor: WindowBackground
 
1087
*textField5.highlightThickness: 0
 
1088
*textField5.marginHeight: 5
 
1089
*textField5.marginWidth: 5
 
1090
*textField5.shadowThickness: 0
 
1091
 
 
1092
*text2.class: text
 
1093
*text2.parent: workArea
 
1094
*text2.static: true
 
1095
*text2.name: text2
 
1096
*text2.x: 20
 
1097
*text2.y: 320
 
1098
*text2.width: 325
 
1099
*text2.height: 40
 
1100
*text2.background: TextBackground
 
1101
*text2.foreground: TextForeground
 
1102
*text2.highlightColor: "Black"
 
1103
*text2.fontList: BoldTextFont
 
1104
*text2.cursorPositionVisible: "false"
 
1105
*text2.translations: TextTable
 
1106
*text2.activateCallback: {\
 
1107
char *s;\
 
1108
extern SelHelp();\
 
1109
\
 
1110
s = XmTextGetString(UxWidget);\
 
1111
\
 
1112
GetHelp(s,"?",1L);\
 
1113
\
 
1114
}
 
1115
*text2.pendingDelete: "true"
 
1116
*text2.blinkRate: 500
 
1117
*text2.editMode: "single_line_edit"
 
1118
*text2.highlightOnEnter: "false"
 
1119
*text2.wordWrap: "false"
 
1120
*text2.accelerators: ""
 
1121
*text2.leftAttachment: "attach_widget"
 
1122
*text2.leftWidget: "text1"
 
1123
*text2.leftOffset: 10
 
1124
*text2.rightAttachment: "attach_form"
 
1125
*text2.rightOffset: 35
 
1126
*text2.topAttachment: "attach_widget"
 
1127
*text2.topOffset: 5
 
1128
*text2.topWidget: "scrolledWindow"
 
1129
*text2.autoShowCursorPosition: "false"
 
1130
*text2.editable: "false"
 
1131
 
 
1132
*arrowButton2.class: arrowButton
 
1133
*arrowButton2.parent: workArea
 
1134
*arrowButton2.static: true
 
1135
*arrowButton2.name: arrowButton2
 
1136
*arrowButton2.x: 671
 
1137
*arrowButton2.y: 120
 
1138
*arrowButton2.width: 20
 
1139
*arrowButton2.height: 20
 
1140
*arrowButton2.leftAttachment: "attach_widget"
 
1141
*arrowButton2.leftOffset: 5
 
1142
*arrowButton2.leftWidget: "text2"
 
1143
*arrowButton2.rightAttachment: "attach_form"
 
1144
*arrowButton2.rightOffset: 5
 
1145
*arrowButton2.foreground: "PaleGreen"
 
1146
*arrowButton2.bottomShadowColor: WindowBackground
 
1147
*arrowButton2.topShadowColor: ButtonForeground
 
1148
*arrowButton2.background: ButtonBackground
 
1149
*arrowButton2.borderColor: WindowBackground
 
1150
*arrowButton2.activateCallback: {\
 
1151
char s[100];\
 
1152
\
 
1153
++DispItem;\
 
1154
\
 
1155
strcpy(s,(char *)GetList());\
 
1156
\
 
1157
UxPutText(text2,s);\
 
1158
\
 
1159
SelHelp(s);\
 
1160
\
 
1161
}
 
1162
*arrowButton2.topAttachment: "attach_widget"
 
1163
*arrowButton2.topOffset: 3
 
1164
*arrowButton2.topWidget: "scrolledWindow"
 
1165
*arrowButton2.translations: ""
 
1166
 
 
1167
*arrowButton1.class: arrowButton
 
1168
*arrowButton1.parent: workArea
 
1169
*arrowButton1.static: true
 
1170
*arrowButton1.name: arrowButton1
 
1171
*arrowButton1.x: 671
 
1172
*arrowButton1.y: 310
 
1173
*arrowButton1.width: 20
 
1174
*arrowButton1.height: 20
 
1175
*arrowButton1.leftAttachment: "attach_widget"
 
1176
*arrowButton1.leftOffset: 5
 
1177
*arrowButton1.leftWidget: "text2"
 
1178
*arrowButton1.rightAttachment: "attach_form"
 
1179
*arrowButton1.rightOffset: 5
 
1180
*arrowButton1.arrowDirection: "arrow_down"
 
1181
*arrowButton1.foreground: "PaleGreen"
 
1182
*arrowButton1.bottomShadowColor: WindowBackground
 
1183
*arrowButton1.topShadowColor: ButtonForeground
 
1184
*arrowButton1.background: ButtonBackground
 
1185
*arrowButton1.borderColor: WindowBackground
 
1186
*arrowButton1.activateCallback: {\
 
1187
char s[100];\
 
1188
\
 
1189
--DispItem;\
 
1190
\
 
1191
strcpy(s,(char *)GetList());\
 
1192
\
 
1193
UxPutText(text2,s);\
 
1194
\
 
1195
SelHelp(s);\
 
1196
\
 
1197
}
 
1198
*arrowButton1.topAttachment: "attach_widget"
 
1199
*arrowButton1.topOffset: 0
 
1200
*arrowButton1.topWidget: "arrowButton2"
 
1201
*arrowButton1.translations: ""
 
1202