earlybrowserreborn - Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 roytam 1 module vuitDummy
2 names = case_sensitive
3 version =
4 " 2.1"
5  
6 value
7 !`T^
8 Midas_Custom_Button_Width: 82;
9 Midas_Cusom_Button_Offset: -35;
3 roytam 10 Midas_Icon_Color: color_table(background color = ' ',
11 foreground color = '*');
1 roytam 12 Midas_Custom_Large_Font: font_table(font('-*-HELVETICA-BOLD-R-*--*-180-*-*-*-*-ISO8859-1'));
3 roytam 13 HandyPakIcon: exported icon(color_table = Midas_Icon_Color,
1 roytam 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 ' ***************************************');
3 roytam 54 MidasIcon: exported icon(color_table = Midas_Icon_Color,
1 roytam 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 list_offset: 7;
96 Buitton_Bottom_Offset: 4;
97 LabelTextOffset: -5;
98 MidasVersion:
99 exported "2.1";
100  
101 list
102 Midas_Custom_Label: arguments
103 {
104 XmNtopOffset = 10;
105 XmNleftOffset = 9;
106 XmNfontList = Midas_Custom_Large_Font;
107 };
108  
109 procedure
110 midas_command_proc();
111 CustomCreate(integer);
112 CustomDelVerb();
113 CustomAddVerb();
114 CustomSelVerb();
115 CustomAddMenu();
116 CustomDelMenu();
117 CustomSelMenu();
118 CustomVMAddSeparator();
119 CustomUpdateSensitivity();
120 CustomVMAddMenu();
121 CustomVMAddVerb();
122 CustomVMDel();
123 CustomVMUp();
124 CustomVMDown();
125 CustomSelConfMenu();
126 CustomVMSel();
127 CustomSelConfVerb();
128 CustomVMSelConf();
129 CustomApply();
130 CustomOk();
131 CustomReset();
132 CustomCancel();
133 CustomExit(integer);
134 SendMidas(string);
135  
136 object
137 Midas_Main: XmMainWindow
138 {
139 arguments
140 {
141 XmNworkWindow = XmCommand Midas_Command;
142 };
143 controls
144 {
145 XmCommand Midas_Command;
146 XmMenuBar
147 {
148 callbacks
149 {
150 MrmNcreateCallback = procedures
151 {
152 SendMidas(
153 "Custom Connect CUSTOM \"<main>\" .");
154 };
155 };
156 };
157 };
158 callbacks
159 {
160 MrmNcreateCallback = procedures
161 {
162 SendMidas(
163 "Custom Create CUSTOM .");
164 };
165 };
166 };
167 Midas_Command: XmCommand
168 {
169 arguments
170 {
171 };
172 callbacks
173 {
174 XmNcommandEnteredCallback = procedures
175 {
176 midas_command_proc();
177 };
178 MrmNcreateCallback = procedures
179 {
180 SendMidas(
181 "Midas Register Name MidasCommand .");
182 };
183 };
184 };
185 Midas_Custom: XmFormDialog
186 {
187 arguments
188 {
189 XmNx = 9;
190 XmNy = 499;
191 XmNwidth = 612;
192 XmNheight = 496;
193 XmNborderWidth = 1;
194 XmNresizePolicy = XmRESIZE_NONE;
195 XmNfractionBase = 90;
196 XmNdialogTitle =
197 compound_string("Midas Customize Verbs and Menus");
198 };
199 controls
200 {
201 XmForm
202 {
203 arguments
204 {
205 XmNx = 251;
206 XmNy = 7;
207 XmNwidth = 25;
208 XmNheight = 355;
209 XmNborderWidth = 1;
210 XmNtopAttachment = XmATTACH_FORM;
211 XmNleftAttachment = XmATTACH_POSITION;
212 XmNleftOffset = 0;
213 XmNtopOffset = 0;
214 XmNleftPosition = 60;
215 XmNrightOffset = 0;
216 XmNrightAttachment = XmATTACH_FORM;
217 XmNbottomOffset = 0;
218 XmNbottomAttachment = XmATTACH_WIDGET;
219 XmNbottomWidget = XmForm Midas_Custom_Buttons;
220 };
221 controls
222 {
223 XmLabelGadget Midas_Custom_Verb_Menu_Label;
224 XmPushButtonGadget Midas_Custom_Add_Verb;
225 XmPushButtonGadget
226 {
227 arguments
228 {
229 XmNx = 91;
230 XmNy = 252;
231 XmNlabelString =
232 compound_string("Add Menu");
233 XmNtopAttachment = XmATTACH_OPPOSITE_WIDGET;
234 XmNleftAttachment = XmATTACH_POSITION;
235 XmNleftPosition = 75;
236 XmNtopOffset = 0;
237 XmNleftOffset = Midas_Cusom_Button_Offset;
238 XmNwidth = Midas_Custom_Button_Width;
239 XmNtopWidget = XmPushButtonGadget Midas_Custom_Add_Verb;
240 };
241 callbacks
242 {
243 MrmNcreateCallback = procedures
244 {
245 CustomCreate(5);
246 };
247 XmNactivateCallback = procedures
248 {
249 CustomVMAddMenu();
250 };
251 };
252 };
253 XmPushButtonGadget Midas_Custom_Separator;
254 XmPushButtonGadget
255 {
256 arguments
257 {
258 XmNx = 94;
259 XmNy = 345;
260 XmNlabelString =
261 compound_string("Remove");
262 XmNtopAttachment = XmATTACH_OPPOSITE_WIDGET;
263 XmNleftAttachment = XmATTACH_POSITION;
264 XmNleftPosition = 75;
265 XmNtopOffset = 0;
266 XmNleftOffset = Midas_Cusom_Button_Offset;
267 XmNwidth = Midas_Custom_Button_Width;
268 XmNtopWidget = XmPushButtonGadget Midas_Custom_Separator;
269 };
270 callbacks
271 {
272 MrmNcreateCallback = procedures
273 {
274 CustomCreate(7);
275 };
276 XmNactivateCallback = procedures
277 {
278 CustomVMDel();
279 };
280 };
281 };
282 XmLabelGadget ActiveMenuLabel;
283 XmScrolledList
284 {
285 arguments
286 {
287 XmNwidth = 181;
288 XmNheight = 160;
289 XmNlistSizePolicy = XmCONSTANT;
290 XmNtopAttachment = XmATTACH_WIDGET;
291 XmNleftAttachment = XmATTACH_FORM;
292 XmNleftOffset = list_offset;
293 XmNtopOffset = 0;
294 XmNrightOffset = list_offset;
295 XmNrightAttachment = XmATTACH_FORM;
296 XmNbottomOffset = 1;
297 XmNbottomAttachment = XmATTACH_WIDGET;
298 XmNtopWidget = XmLabelGadget Midas_Custom_Verb_Menu_Label;
299 XmNbottomWidget = XmLabelGadget ActiveMenuLabel;
300 XmNvisibleItemCount = 999;
301 XmNx = 20;
302 XmNy = 5;
303 };
304 callbacks
305 {
306 MrmNcreateCallback = procedures
307 {
308 CustomCreate(8);
309 };
310 XmNbrowseSelectionCallback = procedures
311 {
312 CustomVMSel();
313 };
314 XmNdefaultActionCallback = procedures
315 {
316 CustomVMSelConf();
317 };
318 };
319 };
320 XmPushButtonGadget Midas_Custom_Up;
321 XmPushButtonGadget
322 {
323 arguments
324 {
325 XmNx = 134;
326 XmNy = 252;
327 XmNlabelString =
328 compound_string("Down");
329 XmNtopAttachment = XmATTACH_OPPOSITE_WIDGET;
330 XmNleftAttachment = XmATTACH_POSITION;
331 XmNleftPosition = 75;
332 XmNtopOffset = 0;
333 XmNleftOffset = Midas_Cusom_Button_Offset;
334 XmNwidth = Midas_Custom_Button_Width;
335 XmNtopWidget = XmPushButtonGadget Midas_Custom_Up;
336 };
337 callbacks
338 {
339 MrmNcreateCallback = procedures
340 {
341 CustomCreate(3);
342 };
343 XmNactivateCallback = procedures
344 {
345 CustomVMDown();
346 };
347 };
348 };
349 };
350 };
351 XmForm Midas_Custom_Command;
352 XmForm Midas_Custom_Buttons;
353 XmForm Verb_Form;
354 XmForm
355 {
356 arguments
357 {
358 XmNx = 191;
359 XmNy = 91;
360 XmNwidth = 25;
361 XmNheight = 25;
362 XmNborderWidth = 1;
363 XmNtopAttachment = XmATTACH_FORM;
364 XmNleftAttachment = XmATTACH_POSITION;
365 XmNleftOffset = 0;
366 XmNtopOffset = 0;
367 XmNleftPosition = 30;
368 XmNrightOffset = 0;
369 XmNrightAttachment = XmATTACH_POSITION;
370 XmNrightPosition = 60;
371 XmNbottomOffset = 0;
372 XmNbottomAttachment = XmATTACH_OPPOSITE_WIDGET;
373 XmNbottomWidget = XmForm Verb_Form;
374 XmNdefaultButton = XmPushButtonGadget Menu_Ok_Button;
375 };
376 controls
377 {
378 XmLabelGadget Menu_Label;
379 XmText Menu_Text;
380 XmScrolledList
381 {
382 arguments
383 {
384 XmNwidth = 181;
385 XmNheight = 160;
386 XmNlistSizePolicy = XmCONSTANT;
387 XmNtopAttachment = XmATTACH_WIDGET;
388 XmNleftAttachment = XmATTACH_FORM;
389 XmNleftOffset = list_offset;
390 XmNtopOffset = 0;
391 XmNrightOffset = list_offset;
392 XmNrightAttachment = XmATTACH_FORM;
393 XmNbottomOffset = list_offset;
394 XmNbottomAttachment = XmATTACH_WIDGET;
395 XmNtopWidget = XmLabelGadget Menu_Label;
396 XmNbottomWidget = XmText Menu_Text;
397 };
398 callbacks
399 {
400 MrmNcreateCallback = procedures
401 {
402 CustomCreate(17);
403 };
404 XmNdefaultActionCallback = procedures
405 {
406 CustomSelConfMenu();
407 };
408 XmNbrowseSelectionCallback = procedures
409 {
410 CustomSelMenu();
411 };
412 };
413 };
414 XmPushButtonGadget Menu_Ok_Button;
415 XmPushButtonGadget
416 {
417 arguments
418 {
419 XmNx = 74;
420 XmNy = 0;
421 XmNlabelString =
422 compound_string("Delete");
423 XmNtopAttachment = XmATTACH_OPPOSITE_WIDGET;
424 XmNleftAttachment = XmATTACH_POSITION;
425 XmNleftOffset = Midas_Cusom_Button_Offset;
426 XmNtopOffset = 0;
427 XmNleftPosition = 73;
428 XmNwidth = Midas_Custom_Button_Width;
429 XmNtopWidget = XmPushButtonGadget Menu_Ok_Button;
430 };
431 callbacks
432 {
433 MrmNcreateCallback = procedures
434 {
435 CustomCreate(20);
436 };
437 XmNactivateCallback = procedures
438 {
439 CustomDelMenu();
440 };
441 };
442 };
443 };
444 };
445 };
446 callbacks
447 {
448 XmNhelpCallback = procedures
449 {
450 SendMidas(
451 "Help . \"http://slacvx.slac.stanford.edu/MidasHelp/v09/custom.html\"");
452 };
453 };
454 };
455 Midas_Custom_Buttons: XmForm
456 {
457 arguments
458 {
459 XmNx = 247;
460 XmNy = 178;
461 XmNwidth = 27;
462 XmNborderWidth = 1;
463 XmNtopAttachment = XmATTACH_NONE;
464 XmNleftAttachment = XmATTACH_POSITION;
465 XmNleftOffset = 0;
466 XmNtopOffset = 0;
467 XmNleftPosition = 60;
468 XmNrightOffset = 0;
469 XmNrightAttachment = XmATTACH_FORM;
470 XmNbottomOffset = 0;
471 XmNbottomAttachment = XmATTACH_FORM;
472 };
473 controls
474 {
475 XmPushButtonGadget Midas_Custom_OK_Button;
476 XmPushButtonGadget Midas_Custom_Apply_Button;
477 XmPushButtonGadget
478 {
479 arguments
480 {
481 XmNx = 82;
482 XmNy = 16;
483 XmNlabelString =
484 compound_string("Reset");
485 XmNtopAttachment = XmATTACH_OPPOSITE_WIDGET;
486 XmNleftAttachment = XmATTACH_POSITION;
487 XmNleftOffset = Midas_Cusom_Button_Offset;
488 XmNtopOffset = 0;
489 XmNleftPosition = 75;
490 XmNwidth = Midas_Custom_Button_Width;
491 XmNtopWidget = XmPushButtonGadget Midas_Custom_Apply_Button;
492 };
493 callbacks
494 {
495 MrmNcreateCallback = procedures
496 {
497 CustomCreate(12);
498 };
499 XmNactivateCallback = procedures
500 {
501 CustomReset();
502 };
503 };
504 };
505 XmPushButtonGadget CustomHelp;
506 XmPushButtonGadget
507 {
508 arguments
509 {
510 XmNx = 86;
511 XmNy = 40;
512 XmNlabelString =
513 compound_string("Cancel");
514 XmNtopAttachment = XmATTACH_OPPOSITE_WIDGET;
515 XmNleftAttachment = XmATTACH_POSITION;
516 XmNleftOffset = Midas_Cusom_Button_Offset;
517 XmNtopOffset = 0;
518 XmNwidth = Midas_Custom_Button_Width;
519 XmNleftPosition = 75;
520 XmNtopWidget = XmPushButtonGadget Midas_Custom_OK_Button;
521 };
522 callbacks
523 {
524 MrmNcreateCallback = procedures
525 {
526 CustomCreate(11);
527 };
528 XmNactivateCallback = procedures
529 {
530 CustomCancel();
531 };
532 };
533 };
534 };
535 };
536 Midas_Custom_Apply_Button: XmPushButtonGadget
537 {
538 arguments
539 {
540 XmNx = 77;
541 XmNy = 9;
542 XmNlabelString =
543 compound_string("Apply");
544 XmNtopAttachment = XmATTACH_FORM;
545 XmNleftAttachment = XmATTACH_POSITION;
546 XmNleftOffset = Midas_Cusom_Button_Offset;
547 XmNtopOffset = 10;
548 XmNleftPosition = 25;
549 XmNwidth = Midas_Custom_Button_Width;
550 };
551 callbacks
552 {
553 MrmNcreateCallback = procedures
554 {
555 CustomCreate(10);
556 };
557 XmNactivateCallback = procedures
558 {
559 CustomApply();
560 };
561 };
562 };
563 Midas_Custom_OK_Button: XmPushButtonGadget
564 {
565 arguments
566 {
567 XmNx = 18;
568 XmNy = 13;
569 XmNlabelString =
570 compound_string("OK");
571 XmNtopAttachment = XmATTACH_WIDGET;
572 XmNleftAttachment = XmATTACH_POSITION;
573 XmNleftOffset = Midas_Cusom_Button_Offset;
574 XmNtopOffset = Buitton_Bottom_Offset;
575 XmNleftPosition = 25;
576 XmNwidth = Midas_Custom_Button_Width;
577 XmNtopWidget = XmPushButtonGadget Midas_Custom_Apply_Button;
578 };
579 callbacks
580 {
581 MrmNcreateCallback = procedures
582 {
583 CustomCreate(9);
584 };
585 XmNactivateCallback = procedures
586 {
587 CustomOk();
588 };
589 };
590 };
591 Midas_Custom_Command: XmForm
592 {
593 arguments
594 {
595 XmNx = 36;
596 XmNy = 316;
597 XmNwidth = 25;
598 XmNheight = 126;
599 XmNborderWidth = 1;
600 XmNtopAttachment = XmATTACH_NONE;
601 XmNleftAttachment = XmATTACH_FORM;
602 XmNleftOffset = 0;
603 XmNtopOffset = 0;
604 XmNrightOffset = 0;
605 XmNrightAttachment = XmATTACH_POSITION;
606 XmNrightPosition = 60;
607 XmNbottomOffset = 0;
608 XmNbottomAttachment = XmATTACH_FORM;
609 XmNresizePolicy = XmRESIZE_GROW;
610 };
611 controls
612 {
613 XmLabelGadget Midas_Custom_Command_Label;
614 XmText
615 {
616 arguments
617 {
618 XmNx = 14;
619 XmNy = 32;
620 XmNwidth = 25;
621 XmNtopAttachment = XmATTACH_WIDGET;
622 XmNleftAttachment = XmATTACH_FORM;
623 XmNleftOffset = 9;
624 XmNtopOffset = 2;
625 XmNrightOffset = 9;
626 XmNrightAttachment = XmATTACH_FORM;
627 XmNbottomOffset = 9;
628 XmNbottomAttachment = XmATTACH_FORM;
629 XmNtopWidget = XmLabelGadget Midas_Custom_Command_Label;
630 XmNeditMode = XmMULTI_LINE_EDIT;
631 XmNrows = 4;
632 };
633 callbacks
634 {
635 MrmNcreateCallback = procedures
636 {
637 CustomCreate(1);
638 };
639 XmNvalueChangedCallback = procedures
640 {
641 CustomUpdateSensitivity();
642 };
643 };
644 };
645 };
646 };
647 Midas_Custom_Command_Label: XmLabelGadget
648 {
649 arguments
650 {
651 arguments Midas_Custom_Label;
652 XmNlabelString =
653 compound_string("Command(s) for Selected Verb");
654 XmNx = 8;
655 XmNtopAttachment = XmATTACH_FORM;
656 };
657 };
658 Midas_Custom_Add_Verb: XmPushButtonGadget
659 {
660 arguments
661 {
662 XmNx = 14;
663 XmNy = 252;
664 XmNlabelString =
665 compound_string("Add Verb");
666 XmNtopAttachment = XmATTACH_NONE;
667 XmNleftAttachment = XmATTACH_POSITION;
668 XmNwidth = Midas_Custom_Button_Width;
669 XmNleftOffset = Midas_Cusom_Button_Offset;
670 XmNleftPosition = 25;
671 XmNtopOffset = 0;
672 XmNbottomOffset = 4;
673 XmNbottomAttachment = XmATTACH_WIDGET;
674 XmNbottomWidget = XmPushButtonGadget Midas_Custom_Separator;
675 };
676 callbacks
677 {
678 MrmNcreateCallback = procedures
679 {
680 CustomCreate(4);
681 };
682 XmNactivateCallback = procedures
683 {
684 CustomVMAddVerb();
685 };
686 };
687 };
688 Midas_Custom_Separator: XmPushButtonGadget
689 {
690 arguments
691 {
692 XmNx = 19;
693 XmNy = 279;
694 XmNlabelString =
695 compound_string(".......");
696 XmNtopAttachment = XmATTACH_NONE;
697 XmNleftAttachment = XmATTACH_POSITION;
698 XmNleftPosition = 25;
699 XmNtopOffset = 0;
700 XmNleftOffset = Midas_Cusom_Button_Offset;
701 XmNwidth = Midas_Custom_Button_Width;
702 XmNbottomOffset = Buitton_Bottom_Offset;
703 XmNbottomAttachment = XmATTACH_FORM;
704 XmNheight = 28;
705 };
706 callbacks
707 {
708 MrmNcreateCallback = procedures
709 {
710 CustomCreate(6);
711 };
712 XmNactivateCallback = procedures
713 {
714 CustomVMAddSeparator();
715 };
716 };
717 };
718 Midas_Custom_Up: XmPushButtonGadget
719 {
720 arguments
721 {
722 XmNx = 11;
723 XmNy = 223;
724 XmNlabelString =
725 compound_string("Up");
726 XmNtopAttachment = XmATTACH_NONE;
727 XmNleftAttachment = XmATTACH_POSITION;
728 XmNwidth = Midas_Custom_Button_Width;
729 XmNleftOffset = Midas_Cusom_Button_Offset;
730 XmNleftPosition = 25;
731 XmNtopOffset = 0;
732 XmNbottomOffset = 5;
733 XmNbottomAttachment = XmATTACH_WIDGET;
734 XmNbottomWidget = XmPushButtonGadget Midas_Custom_Add_Verb;
735 };
736 callbacks
737 {
738 MrmNcreateCallback = procedures
739 {
740 CustomCreate(2);
741 };
742 XmNactivateCallback = procedures
743 {
744 CustomVMUp();
745 };
746 };
747 };
748 Midas_Custom_Verb_Menu_Label: XmLabelGadget
749 {
750 arguments
751 {
752 arguments Midas_Custom_Label;
753 XmNlabelString =
754 compound_string("Verbs in Menu");
755 XmNtopAttachment = XmATTACH_FORM;
756 };
757 };
758 Verb_Label: XmLabelGadget
759 {
760 arguments
761 {
762 arguments Midas_Custom_Label;
763 XmNlabelString =
764 compound_string("Verbs");
765 XmNtopAttachment = XmATTACH_FORM;
766 XmNleftAttachment = XmATTACH_FORM;
767 };
768 };
769 Verb_Enter_Button: XmPushButtonGadget
770 {
771 arguments
772 {
773 XmNx = 13;
774 XmNy = 277;
775 XmNlabelString =
776 compound_string("Enter");
777 XmNtopAttachment = XmATTACH_NONE;
778 XmNleftAttachment = XmATTACH_POSITION;
779 XmNleftOffset = Midas_Cusom_Button_Offset;
780 XmNtopOffset = 0;
781 XmNleftPosition = 23;
782 XmNwidth = Midas_Custom_Button_Width;
783 XmNbottomOffset = Buitton_Bottom_Offset;
784 XmNbottomAttachment = XmATTACH_FORM;
785 };
786 callbacks
787 {
788 MrmNcreateCallback = procedures
789 {
790 CustomCreate(15);
791 };
792 XmNactivateCallback = procedures
793 {
794 CustomAddVerb();
795 };
796 };
797 };
798 Verb_Text: XmText
799 {
800 arguments
801 {
802 XmNx = 18;
803 XmNy = 264;
804 XmNheight = 35;
805 XmNtopAttachment = XmATTACH_NONE;
806 XmNleftAttachment = XmATTACH_FORM;
807 XmNleftOffset = list_offset;
808 XmNtopOffset = 0;
809 XmNrightOffset = list_offset;
810 XmNrightAttachment = XmATTACH_FORM;
811 XmNbottomOffset = list_offset;
812 XmNbottomAttachment = XmATTACH_WIDGET;
813 XmNbottomWidget = XmPushButtonGadget Verb_Enter_Button;
814 };
815 callbacks
816 {
817 MrmNcreateCallback = procedures
818 {
819 CustomCreate(14);
820 };
821 XmNvalueChangedCallback = procedures
822 {
823 CustomUpdateSensitivity();
824 };
825 };
826 };
827 Verb_Form: XmForm
828 {
829 arguments
830 {
831 XmNx = 31;
832 XmNy = 61;
833 XmNwidth = 25;
834 XmNheight = 315;
835 XmNborderWidth = 1;
836 XmNtopAttachment = XmATTACH_FORM;
837 XmNleftAttachment = XmATTACH_FORM;
838 XmNleftOffset = 0;
839 XmNtopOffset = 0;
840 XmNrightOffset = 0;
841 XmNrightAttachment = XmATTACH_POSITION;
842 XmNrightPosition = 30;
843 XmNbottomOffset = -1+1;
844 XmNbottomAttachment = XmATTACH_WIDGET;
845 XmNbottomWidget = XmForm Midas_Custom_Command;
846 XmNdefaultButton = XmPushButtonGadget Verb_Enter_Button;
847 };
848 controls
849 {
850 XmLabelGadget Verb_Label;
851 XmText Verb_Text;
852 XmPushButtonGadget Verb_Enter_Button;
853 XmToggleButtonGadget Verb_Is_Toggle;
854 XmPushButtonGadget
855 {
856 arguments
857 {
858 XmNx = 81;
859 XmNy = 279;
860 XmNlabelString =
861 compound_string("Delete");
862 XmNtopAttachment = XmATTACH_OPPOSITE_WIDGET;
863 XmNleftAttachment = XmATTACH_POSITION;
864 XmNleftOffset = Midas_Cusom_Button_Offset;
865 XmNtopOffset = 0;
866 XmNtopWidget = XmPushButtonGadget Verb_Enter_Button;
867 XmNleftPosition = 71;
868 XmNwidth = Midas_Custom_Button_Width;
869 };
870 callbacks
871 {
872 MrmNcreateCallback = procedures
873 {
874 CustomCreate(16);
875 };
876 XmNactivateCallback = procedures
877 {
878 CustomDelVerb();
879 };
880 };
881 };
882 XmScrolledList
883 {
884 arguments
885 {
886 XmNwidth = 69;
887 XmNheight = 182;
888 XmNy = 25;
889 XmNx = 77;
890 XmNtopOffset = 0;
891 XmNtopAttachment = XmATTACH_WIDGET;
892 XmNtopWidget = XmLabelGadget Verb_Label;
893 XmNleftOffset = list_offset;
894 XmNleftAttachment = XmATTACH_FORM;
895 XmNrightOffset = list_offset;
896 XmNrightAttachment = XmATTACH_FORM;
897 XmNbottomOffset = 2;
898 XmNbottomAttachment = XmATTACH_WIDGET;
899 XmNlistSizePolicy = XmCONSTANT;
900 XmNvisibleItemCount = 999;
901 XmNbottomWidget = XmToggleButtonGadget Verb_Is_Toggle;
902 };
903 callbacks
904 {
905 MrmNcreateCallback = procedures
906 {
907 CustomCreate(13);
908 };
909 XmNbrowseSelectionCallback = procedures
910 {
911 CustomSelVerb();
912 };
913 XmNdefaultActionCallback = procedures
914 {
915 CustomSelConfVerb();
916 };
917 };
918 };
919 };
920 };
921 Menu_Label: XmLabelGadget
922 {
923 arguments
924 {
925 arguments Midas_Custom_Label;
926 XmNlabelString =
927 compound_string("Menus");
928 XmNtopAttachment = XmATTACH_FORM;
929 XmNleftAttachment = XmATTACH_FORM;
930 };
931 };
932 Menu_Text: XmText
933 {
934 arguments
935 {
936 XmNx = 15;
937 XmNy = 264;
938 XmNheight = 35;
939 XmNtopAttachment = XmATTACH_NONE;
940 XmNleftAttachment = XmATTACH_FORM;
941 XmNleftOffset = list_offset;
942 XmNtopOffset = 0;
943 XmNrightOffset = list_offset;
944 XmNrightAttachment = XmATTACH_FORM;
945 XmNbottomOffset = list_offset;
946 XmNbottomAttachment = XmATTACH_WIDGET;
947 XmNbottomWidget = XmPushButtonGadget Menu_Ok_Button;
948 };
949 callbacks
950 {
951 MrmNcreateCallback = procedures
952 {
953 CustomCreate(18);
954 };
955 XmNvalueChangedCallback = procedures
956 {
957 CustomUpdateSensitivity();
958 };
959 };
960 };
961 Menu_Ok_Button: XmPushButtonGadget
962 {
963 arguments
964 {
965 XmNx = 9;
966 XmNy = 277;
967 XmNlabelString =
968 compound_string("Enter");
969 XmNtopAttachment = XmATTACH_NONE;
970 XmNleftAttachment = XmATTACH_POSITION;
971 XmNleftOffset = Midas_Cusom_Button_Offset;
972 XmNtopOffset = 0;
973 XmNleftPosition = 25;
974 XmNwidth = Midas_Custom_Button_Width;
975 XmNbottomOffset = Buitton_Bottom_Offset;
976 XmNbottomAttachment = XmATTACH_FORM;
977 };
978 callbacks
979 {
980 MrmNcreateCallback = procedures
981 {
982 CustomCreate(19);
983 };
984 XmNactivateCallback = procedures
985 {
986 CustomAddMenu();
987 };
988 };
989 };
990 ActiveMenuLabel: XmLabelGadget
991 {
992 arguments
993 {
994 XmNx = 10;
995 XmNy = 239;
996 XmNlabelString =
997 compound_string("No Menu Selected");
998 XmNtopAttachment = XmATTACH_NONE;
999 XmNleftAttachment = XmATTACH_FORM;
1000 XmNleftOffset = 10;
1001 XmNtopOffset = 0;
1002 XmNbottomOffset = 5;
1003 XmNbottomAttachment = XmATTACH_WIDGET;
1004 XmNbottomWidget = XmPushButtonGadget Midas_Custom_Up;
1005 };
1006 callbacks
1007 {
1008 MrmNcreateCallback = procedures
1009 {
1010 CustomCreate(21);
1011 };
1012 };
1013 };
1014 MidasCustomExitDialog: XmWarningDialog
1015 {
1016 arguments
1017 {
1018 XmNmessageString =
1019 compound_string("Customization changes have not been saved.",separate=true) &
1020 compound_string("Save changes before exiting?");
1021 XmNx = 34;
1022 XmNy = 55;
1023 XmNborderWidth = 1;
1024 XmNcancelLabelString =
1025 compound_string("No");
1026 XmNokLabelString =
1027 compound_string("Yes");
1028 XmNhelpLabelString =
1029 compound_string("Cancel");
1030 XmNdialogStyle = XmDIALOG_FULL_APPLICATION_MODAL;
1031 XmNmessageAlignment = XmALIGNMENT_CENTER;
1032 XmNdialogTitle =
1033 compound_string("Confirmation Needed...");
1034 };
1035 callbacks
1036 {
1037 XmNcancelCallback = procedures
1038 {
1039 CustomExit(0);
1040 CustomExit(0);
1041 };
1042 XmNhelpCallback = procedures
1043 {
1044 CustomExit(2);
1045 };
1046 XmNokCallback = procedures
1047 {
1048 CustomExit(1);
1049 };
1050 };
1051 };
1052 FileList: XmFormDialog
1053 {
1054 arguments
1055 {
1056 XmNx = 59;
1057 XmNy = 211;
1058 XmNwidth = 340;
1059 XmNheight = 211;
1060 XmNborderWidth = 1;
1061 XmNdialogTitle =
1062 compound_string("Midas - File Manager");
1063 XmNresizePolicy = XmRESIZE_NONE;
1064 };
1065 controls
1066 {
1067 XmMenuBar MidasFilesMenu;
1068 XmScrolledList
1069 {
1070 arguments
1071 {
1072 XmNx = 21;
1073 XmNy = 64;
1074 XmNwidth = 25;
1075 XmNheight = 25;
1076 XmNtopAttachment = XmATTACH_WIDGET;
1077 XmNleftAttachment = XmATTACH_FORM;
1078 XmNleftOffset = 0;
1079 XmNtopOffset = 0;
1080 XmNtopWidget = XmMenuBar MidasFilesMenu;
1081 XmNrightOffset = 0;
1082 XmNrightAttachment = XmATTACH_FORM;
1083 XmNbottomOffset = 0;
1084 XmNbottomAttachment = XmATTACH_FORM;
1085 };
1086 callbacks
1087 {
1088 MrmNcreateCallback = procedures
1089 {
1090 SendMidas(
1091 "midas realize list MidasFiles .");
1092 };
1093 };
1094 };
1095 };
1096 callbacks
1097 {
1098 MrmNcreateCallback = procedures
1099 {
1100 SendMidas(
1101 "custom create FILELIST .");
1102 };
1103 };
1104 };
1105 MidasFilesMenu: XmMenuBar
1106 {
1107 arguments
1108 {
1109 XmNrightOffset = 0;
1110 XmNrightAttachment = XmATTACH_FORM;
1111 XmNx = 10;
1112 XmNwidth = 263;
1113 XmNleftOffset = 0;
1114 XmNleftAttachment = XmATTACH_FORM;
1115 };
1116 callbacks
1117 {
1118 MrmNcreateCallback = procedures
1119 {
1120 SendMidas(
1121 "custom connect FILELIST \"<main>\" .");
1122 };
1123 };
1124 };
1125 MidasFilesSelector: XmFileSelectionDialog
1126 {
1127 arguments
1128 {
1129 XmNx = 0;
1130 XmNy = 7;
1131 XmNborderWidth = 1;
1132 XmNdialogTitle =
1133 compound_string("Midas - Open File");
1134 XmNpattern =
1135 compound_string("*.uid");
1136 };
1137 callbacks
1138 {
1139 XmNcancelCallback = procedures
1140 {
1141 SendMidas(
1142 "Midas PopDown .");
1143 };
1144 MrmNcreateCallback = procedures
1145 {
1146 SendMidas(
1147 "Midas PopDown ..Help");
1148 };
1149 };
1150 };
1151 MidasCallbackManager: XmFormDialog
1152 {
1153 arguments
1154 {
1155 XmNwidth = 377;
1156 XmNheight = 455;
1157 XmNborderWidth = 1;
1158 XmNdialogTitle =
1159 compound_string("Midas - Callback Manager");
1160 XmNresizePolicy = XmRESIZE_NONE;
1161 XmNautoUnmanage = false;
1162 };
1163 controls
1164 {
1165 XmLabelGadget MidasCallbackManagerLabel;
1166 XmPanedWindow
1167 {
1168 arguments
1169 {
1170 XmNx = 149;
1171 XmNy = 13;
1172 XmNwidth = 98;
1173 XmNheight = 151;
1174 XmNborderWidth = 1;
1175 XmNtopAttachment = XmATTACH_WIDGET;
1176 XmNleftAttachment = XmATTACH_FORM;
1177 XmNleftOffset = 4;
1178 XmNtopOffset = 54;
1179 XmNrightOffset = 6;
1180 XmNrightAttachment = XmATTACH_FORM;
1181 XmNtopWidget = XmLabelGadget MidasCallbackManagerLabel;
1182 XmNbottomOffset = 6;
1183 XmNbottomAttachment = XmATTACH_WIDGET;
1184 XmNbottomWidget = XmPushButtonGadget MidasCallbackManagerCancel;
1185 };
1186 controls
1187 {
1188 XmScrolledList MidasCallbackManagerList;
1189 XmForm
1190 {
1191 arguments
1192 {
1193 XmNx = 4;
1194 XmNy = 134;
1195 XmNwidth = 25;
1196 XmNheight = 122;
1197 XmNborderWidth = 1;
1198 };
1199 controls
1200 {
1201 XmLabelGadget MidasCallbackManagerLabel2;
1202 XmScrolledText MidasCallbackManagerText;
1203 };
1204 };
1205 };
1206 };
1207 XmPushButtonGadget MidasCallbackManagerCancel;
1208 XmPushButtonGadget MidasCallbackManagerApply;
1209 XmPushButtonGadget MidasCallbackManagerSave;
1210 XmLabelGadget MidasCallbackManagerClassLabel;
1211 XmText MidasCallbackManagerClassText;
1212 XmText MidasCallbackManagerWidgetText;
1213 };
1214 };
1215 MidasCallbackManagerLabel: XmLabelGadget
1216 {
1217 arguments
1218 {
1219 XmNx = 15;
1220 XmNy = 12;
1221 XmNlabelString =
1222 compound_string("Widget");
1223 XmNtopAttachment = XmATTACH_FORM;
1224 XmNleftAttachment = XmATTACH_FORM;
1225 XmNleftOffset = 15;
1226 XmNtopOffset = 18;
1227 };
1228 };
1229 MidasCallbackManagerList: XmScrolledList
1230 {
1231 arguments
1232 {
1233 XmNx = 18;
1234 XmNy = 12;
1235 XmNwidth = 25;
1236 XmNheight = 80;
1237 };
1238 callbacks
1239 {
1240 MrmNcreateCallback = procedures
1241 {
1242 SendMidas(
1243 "Midas Realize List CallbackList .");
1244 };
1245 };
1246 };
1247 MidasCallbackManagerText: XmScrolledText
1248 {
1249 arguments
1250 {
1251 XmNx = 186;
1252 XmNy = 32;
1253 XmNwidth = 125;
1254 XmNheight = 83;
1255 XmNtopAttachment = XmATTACH_WIDGET;
1256 XmNleftAttachment = XmATTACH_FORM;
1257 XmNleftOffset = 1;
1258 XmNtopOffset = 2;
1259 XmNrightOffset = 4;
1260 XmNrightAttachment = XmATTACH_FORM;
1261 XmNbottomOffset = 2;
1262 XmNbottomAttachment = XmATTACH_FORM;
1263 XmNtopWidget = XmLabelGadget MidasCallbackManagerLabel2;
1264 XmNeditMode = XmMULTI_LINE_EDIT;
1265 };
1266 };
1267 MidasErrorBox: XmErrorDialog
1268 {
1269 arguments
1270 {
1271 XmNmessageString =
1272 compound_string("Error Dialog Label");
1273 XmNx = 43;
1274 XmNy = 62;
1275 XmNborderWidth = 1;
1276 XmNwidth = 418;
1277 XmNheight = 188;
1278 XmNdialogStyle = XmDIALOG_FULL_APPLICATION_MODAL;
1279 XmNdialogTitle =
1280 compound_string("Midas Error Message");
1281 XmNokLabelString =
1282 compound_string("Acknowleged");
1283 };
1284 callbacks
1285 {
1286 MrmNcreateCallback = procedures
1287 {
1288 SendMidas(
1289 "Midas PopDown ..Help\nMIdas PopDown ..Cancel");
1290 };
1291 };
1292 };
1293 MidasResourceManager: XmFormDialog
1294 {
1295 arguments
1296 {
1297 XmNx = 66;
1298 XmNy = 115;
1299 XmNwidth = 368;
1300 XmNheight = 288;
1301 XmNborderWidth = 1;
1302 XmNresizePolicy = XmRESIZE_NONE;
1303 XmNautoUnmanage = false;
1304 XmNdialogTitle =
1305 compound_string("Midas - Resource Manager");
1306 XmNdefaultButton = XmPushButtonGadget Apply;
1307 };
1308 controls
1309 {
1310 XmLabelGadget Label;
1311 XmLabelGadget Class;
1312 XmText NameText;
1313 XmText ClassText;
1314 XmText Text;
1315 XmLabelGadget ValueLabel;
1316 XmPushButtonGadget Cancel;
1317 XmPushButtonGadget Apply;
1318 XmScrolledList List;
1319 XmPushButtonGadget Save;
1320 };
1321 };
1322 List: XmScrolledList
1323 {
1324 arguments
1325 {
1326 XmNx = 20;
1327 XmNy = 87;
1328 XmNwidth = 324;
1329 XmNheight = 87;
1330 XmNtopAttachment = XmATTACH_WIDGET;
1331 XmNleftAttachment = XmATTACH_FORM;
1332 XmNleftOffset = 20;
1333 XmNtopOffset = 8;
1334 XmNbottomAttachment = XmATTACH_WIDGET;
1335 XmNbottomOffset = 0;
1336 XmNrightAttachment = XmATTACH_FORM;
1337 XmNrightOffset = 20;
1338 XmNbottomWidget = XmLabelGadget ValueLabel;
1339 XmNtopWidget = XmText ClassText;
1340 };
1341 callbacks
1342 {
1343 MrmNcreateCallback = procedures
1344 {
1345 SendMidas(
1346 "Midas Realize List ResourceList .");
1347 };
1348 };
1349 };
1350 Label: XmLabelGadget
1351 {
1352 arguments
1353 {
1354 XmNx = 18;
1355 XmNy = 6;
1356 XmNlabelString =
1357 compound_string("Widget");
1358 XmNtopAttachment = XmATTACH_FORM;
1359 XmNleftAttachment = XmATTACH_FORM;
1360 XmNleftOffset = 7;
1361 XmNtopOffset = 13;
1362 };
1363 };
1364 ValueLabel: XmLabelGadget
1365 {
1366 arguments
1367 {
1368 XmNx = 18;
1369 XmNy = 203;
1370 XmNlabelString =
1371 compound_string("Resource Value");
1372 XmNtopAttachment = XmATTACH_NONE;
1373 XmNleftAttachment = XmATTACH_FORM;
1374 XmNleftOffset = 18;
1375 XmNtopOffset = 0;
1376 XmNbottomOffset = 0;
1377 XmNbottomAttachment = XmATTACH_WIDGET;
1378 XmNbottomWidget = XmText Text;
1379 };
1380 };
1381 Text: XmText
1382 {
1383 arguments
1384 {
1385 XmNx = 20;
1386 XmNy = 216;
1387 XmNtopAttachment = XmATTACH_NONE;
1388 XmNleftAttachment = XmATTACH_FORM;
1389 XmNleftOffset = 20;
1390 XmNtopOffset = 0;
1391 XmNrightOffset = 21;
1392 XmNrightAttachment = XmATTACH_FORM;
1393 XmNbottomOffset = 6;
1394 XmNbottomAttachment = XmATTACH_WIDGET;
1395 XmNbottomWidget = XmPushButtonGadget Apply;
1396 };
1397 };
1398 Cancel: XmPushButtonGadget
1399 {
1400 arguments
1401 {
1402 XmNx = 242;
1403 XmNy = 261;
1404 XmNlabelString =
1405 compound_string("Dismiss");
1406 XmNtopAttachment = XmATTACH_OPPOSITE_WIDGET;
1407 XmNleftAttachment = XmATTACH_NONE;
1408 XmNleftOffset = 0;
1409 XmNtopOffset = 0;
1410 XmNtopWidget = XmPushButtonGadget Apply;
1411 XmNrightOffset = 41;
1412 XmNrightAttachment = XmATTACH_FORM;
1413 };
1414 callbacks
1415 {
1416 XmNactivateCallback = procedures
1417 {
1418 SendMidas(
1419 "Midas Popdown .^");
1420 };
1421 };
1422 };
1423 Apply: XmPushButtonGadget
1424 {
1425 arguments
1426 {
1427 XmNx = 55;
1428 XmNy = 260;
1429 XmNlabelString =
1430 compound_string("Apply");
1431 XmNtopAttachment = XmATTACH_NONE;
1432 XmNleftAttachment = XmATTACH_POSITION;
1433 XmNleftOffset = 92;
1434 XmNtopOffset = 0;
1435 XmNbottomOffset = 2;
1436 XmNbottomAttachment = XmATTACH_FORM;
1437 XmNleftPosition = 16;
1438 };
1439 callbacks
1440 {
1441 MrmNcreateCallback = procedures
1442 {
1443 SendMidas(
1444 "Midas Center Horizontal . 50");
1445 };
1446 };
1447 };
1448 MidasIngotManager: XmFormDialog
1449 {
1450 arguments
1451 {
1452 XmNx = 98;
1453 XmNy = 143;
1454 XmNwidth = 359;
1455 XmNheight = 478;
1456 XmNborderWidth = 1;
1457 XmNresizePolicy = XmRESIZE_NONE;
1458 XmNdialogTitle =
1459 compound_string("Midas - Ingot Manager");
1460 };
1461 controls
1462 {
1463 XmPanedWindow MidasIngotManagerPanes;
1464 XmLabelGadget MidasIngotManagerLabel;
1465 XmPushButtonGadget MidasIngotManagerDismiss;
1466 XmLabelGadget MidasIngotManagerClassLabel;
1467 XmText MidasIngotManagerNameText;
1468 XmText MidasIngotManagerClassText;
1469 XmPushButtonGadget MidasIngotManagerCreateNew;
1470 };
1471 };
1472 MidasCallbackManagerLabel2: XmLabelGadget
1473 {
1474 arguments
1475 {
1476 XmNx = 13;
1477 XmNy = 8;
1478 XmNlabelString =
1479 compound_string("Callback Command");
1480 XmNtopAttachment = XmATTACH_FORM;
1481 XmNleftAttachment = XmATTACH_FORM;
1482 XmNleftOffset = 13;
1483 XmNtopOffset = 8;
1484 };
1485 };
1486 MidasCallbackManagerCancel: XmPushButtonGadget
1487 {
1488 arguments
1489 {
1490 XmNx = 42;
1491 XmNy = 361;
1492 XmNlabelString =
1493 compound_string("Dismiss");
1494 XmNtopAttachment = XmATTACH_NONE;
1495 XmNleftAttachment = XmATTACH_FORM;
1496 XmNleftOffset = 185;
1497 XmNtopOffset = 0;
1498 XmNbottomOffset = 2;
1499 XmNbottomAttachment = XmATTACH_FORM;
1500 XmNrightOffset = 0;
1501 XmNrightAttachment = XmATTACH_NONE;
1502 XmNwidth = 73;
1503 };
1504 callbacks
1505 {
1506 MrmNcreateCallback = procedures
1507 {
1508 SendMidas(
1509 "Midas Center Horizontal . 75");
1510 };
1511 };
1512 };
1513 MidasCallbackManagerApply: XmPushButtonGadget
1514 {
1515 arguments
1516 {
1517 XmNx = 168;
1518 XmNy = 360;
1519 XmNlabelString =
1520 compound_string("Apply");
1521 XmNtopAttachment = XmATTACH_NONE;
1522 XmNleftAttachment = XmATTACH_FORM;
1523 XmNleftOffset = 27;
1524 XmNtopOffset = 0;
1525 XmNbottomOffset = 2;
1526 XmNbottomAttachment = XmATTACH_FORM;
1527 };
1528 callbacks
1529 {
1530 MrmNcreateCallback = procedures
1531 {
1532 SendMidas(
1533 "Midas Center Horizontal . 50");
1534 };
1535 };
1536 };
1537 MidasCallbackManagerSave: XmPushButtonGadget
1538 {
1539 arguments
1540 {
1541 XmNx = 103;
1542 XmNy = 358;
1543 XmNlabelString =
1544 compound_string("Save");
1545 XmNtopAttachment = XmATTACH_NONE;
1546 XmNleftAttachment = XmATTACH_FORM;
1547 XmNleftOffset = 102;
1548 XmNtopOffset = 0;
1549 XmNbottomOffset = 2;
1550 XmNbottomAttachment = XmATTACH_FORM;
1551 };
1552 callbacks
1553 {
1554 MrmNcreateCallback = procedures
1555 {
1556 SendMidas(
1557 "Midas Center Horizontal . 25");
1558 };
1559 };
1560 };
1561 MidasIngotManagerPanes: XmPanedWindow
1562 {
1563 arguments
1564 {
1565 XmNx = 46;
1566 XmNy = 78;
1567 XmNwidth = 25;
1568 XmNheight = 25;
1569 XmNborderWidth = 1;
1570 XmNtopAttachment = XmATTACH_WIDGET;
1571 XmNleftAttachment = XmATTACH_FORM;
1572 XmNleftOffset = 6;
1573 XmNtopOffset = 8;
1574 XmNrightOffset = 6;
1575 XmNrightAttachment = XmATTACH_FORM;
1576 XmNbottomOffset = 3;
1577 XmNbottomAttachment = XmATTACH_WIDGET;
1578 XmNbottomWidget = XmPushButtonGadget MidasIngotManagerDismiss;
1579 XmNtopWidget = XmText MidasIngotManagerClassText;
1580 };
1581 controls
1582 {
1583 XmScrolledList MidasIngotManagerList;
1584 XmForm
1585 {
1586 arguments
1587 {
1588 XmNx = 13;
1589 XmNy = 21;
1590 XmNwidth = 25;
1591 XmNheight = 33;
1592 XmNborderWidth = 1;
1593 };
1594 controls
1595 {
1596 XmLabelGadget MidasIngotManagerValueLabel;
1597 XmText MidasIngotManagerValueText;
1598 XmPushButtonGadget MidasIngotManagerValueApply;
1599 XmText MidasIngotManagerCallbackText;
1600 XmLabelGadget MidasIngotManagerCallbackLabel;
1601 XmPushButtonGadget MidasIngotManagerCallbackApply;
1602 XmPushButtonGadget MidasIngotManagerCallbackSave;
1603 XmText MidasIngotValueOwnerText;
1604 XmLabelGadget MidasIngotValueOwnerLabel;
1605 XmToggleButtonGadget MidasIngotManagerCallbackOption;
1606 };
1607 };
1608 };
1609 };
1610 MidasIngotManagerList: XmScrolledList
1611 {
1612 arguments
1613 {
1614 XmNx = 37;
1615 XmNy = 9;
1616 XmNwidth = 16;
1617 XmNheight = 74;
1618 };
1619 callbacks
1620 {
1621 MrmNcreateCallback = procedures
1622 {
1623 SendMidas(
1624 "Midas Realize List IngotList .");
1625 };
1626 };
1627 };
1628 MidasIngotManagerDismiss: XmPushButtonGadget
1629 {
1630 arguments
1631 {
1632 XmNx = 11;
1633 XmNy = 199;
1634 XmNlabelString =
1635 compound_string("Dismiss");
1636 XmNtopAttachment = XmATTACH_NONE;
1637 XmNleftAttachment = XmATTACH_FORM;
1638 XmNleftOffset = 11;
1639 XmNtopOffset = 0;
1640 XmNbottomOffset = 6;
1641 XmNbottomAttachment = XmATTACH_FORM;
1642 };
1643 };
1644 MidasIngotManagerLabel: XmLabelGadget
1645 {
1646 arguments
1647 {
1648 XmNx = 8;
1649 XmNy = 10;
1650 XmNlabelString =
1651 compound_string("Widget");
1652 XmNtopAttachment = XmATTACH_FORM;
1653 XmNleftAttachment = XmATTACH_FORM;
1654 XmNleftOffset = 8;
1655 XmNtopOffset = 10;
1656 };
1657 };
1658 MidasIngotManagerValueLabel: XmLabelGadget
1659 {
1660 arguments
1661 {
1662 XmNx = 10;
1663 XmNy = 5;
1664 XmNlabelString =
1665 compound_string("Value");
1666 XmNtopAttachment = XmATTACH_FORM;
1667 XmNleftAttachment = XmATTACH_FORM;
1668 XmNleftOffset = 10;
1669 XmNtopOffset = 6;
1670 };
1671 };
1672 MidasIngotManagerValueApply: XmPushButtonGadget
1673 {
1674 arguments
1675 {
1676 XmNx = 198;
1677 XmNy = 5;
1678 XmNlabelString =
1679 compound_string("Apply");
1680 XmNtopAttachment = XmATTACH_FORM;
1681 XmNleftAttachment = XmATTACH_NONE;
1682 XmNleftOffset = 0;
1683 XmNtopOffset = 4;
1684 XmNrightOffset = 3;
1685 XmNrightAttachment = XmATTACH_FORM;
1686 };
1687 };
1688 MidasIngotManagerValueText: XmText
1689 {
1690 arguments
1691 {
1692 XmNx = 69;
1693 XmNy = 6;
1694 XmNtopAttachment = XmATTACH_FORM;
1695 XmNleftAttachment = XmATTACH_WIDGET;
1696 XmNleftOffset = 6;
1697 XmNtopOffset = 2;
1698 XmNleftWidget = XmLabelGadget MidasIngotManagerValueLabel;
1699 XmNrightOffset = 4;
1700 XmNrightAttachment = XmATTACH_WIDGET;
1701 XmNrightWidget = XmPushButtonGadget MidasIngotManagerValueApply;
1702 };
1703 };
1704 MidasIngotManagerCallbackApply: XmPushButtonGadget
1705 {
1706 arguments
1707 {
1708 XmNx = 14;
1709 XmNy = 150;
1710 XmNlabelString =
1711 compound_string("Apply");
1712 XmNtopAttachment = XmATTACH_NONE;
1713 XmNleftAttachment = XmATTACH_FORM;
1714 XmNleftOffset = 14;
1715 XmNtopOffset = 0;
1716 XmNbottomOffset = 2;
1717 XmNbottomAttachment = XmATTACH_FORM;
1718 };
1719 };
1720 MidasIngotManagerCallbackSave: XmPushButtonGadget
1721 {
1722 arguments
1723 {
1724 XmNx = 255;
1725 XmNy = 145;
1726 XmNlabelString =
1727 compound_string("Save");
1728 XmNtopAttachment = XmATTACH_NONE;
1729 XmNleftAttachment = XmATTACH_NONE;
1730 XmNleftOffset = 0;
1731 XmNtopOffset = 0;
1732 XmNbottomOffset = 2;
1733 XmNbottomAttachment = XmATTACH_FORM;
1734 XmNrightOffset = 19;
1735 XmNrightAttachment = XmATTACH_FORM;
1736 };
1737 };
1738 MidasIngotManagerCallbackLabel: XmLabelGadget
1739 {
1740 arguments
1741 {
1742 XmNx = 11;
1743 XmNy = 83;
1744 XmNlabelString =
1745 compound_string("Callback");
1746 XmNtopAttachment = XmATTACH_WIDGET;
1747 XmNleftAttachment = XmATTACH_FORM;
1748 XmNleftOffset = 7;
1749 XmNtopOffset = 7;
1750 XmNtopWidget = XmText MidasIngotValueOwnerText;
1751 };
1752 };
1753 MidasIngotManagerCallbackText: XmText
1754 {
1755 arguments
1756 {
1757 XmNx = 6;
1758 XmNy = 60;
1759 XmNtopAttachment = XmATTACH_WIDGET;
1760 XmNleftAttachment = XmATTACH_FORM;
1761 XmNleftOffset = 3;
1762 XmNtopOffset = 1;
1763 XmNrightOffset = 9;
1764 XmNrightAttachment = XmATTACH_FORM;
1765 XmNbottomOffset = 0;
1766 XmNbottomAttachment = XmATTACH_WIDGET;
1767 XmNbottomWidget = XmToggleButtonGadget MidasIngotManagerCallbackOption;
1768 XmNtopWidget = XmLabelGadget MidasIngotManagerCallbackLabel;
1769 XmNeditMode = XmMULTI_LINE_EDIT;
1770 };
1771 };
1772 Save: XmPushButtonGadget
1773 {
1774 arguments
1775 {
1776 XmNx = 151;
1777 XmNy = 247;
1778 XmNlabelString =
1779 compound_string("Save");
1780 XmNtopAttachment = XmATTACH_NONE;
1781 XmNleftAttachment = XmATTACH_FORM;
1782 XmNleftOffset = 55;
1783 XmNtopOffset = 0;
1784 XmNbottomOffset = 2;
1785 XmNbottomAttachment = XmATTACH_FORM;
1786 };
1787 };
1788 WidgetList: XmMainWindow
1789 {
1790 arguments
1791 {
1792 XmNborderWidth = 1;
1793 XmNmessageWindow = XmRowColumn WidgetListButtons;
1794 XmNscrollingPolicy = XmAUTOMATIC;
1795 };
1796 controls
1797 {
1798 XmMenuBar WidgetListMenu;
1799 XmRowColumn WidgetListButtons;
1800 };
1801 };
1802 WidgetListMenu: XmMenuBar
1803 {
1804 };
1805 WidgetListButtons: XmRowColumn
1806 {
1807 arguments
1808 {
1809 XmNborderWidth = 1;
1810 XmNwidth = 214;
1811 XmNheight = 113;
1812 XmNy = 97;
1813 XmNorientation = XmHORIZONTAL;
1814 XmNresizeWidth = false;
1815 };
1816 };
1817 MidasExpressionEvaluator: XmFormDialog
1818 {
1819 arguments
1820 {
1821 XmNx = 19;
1822 XmNy = 116;
1823 XmNborderWidth = 1;
1824 XmNresizePolicy = XmRESIZE_ANY;
1825 XmNdialogTitle =
1826 compound_string("Midas: Expression Evaluator");
1827 XmNautoUnmanage = false;
1828 XmNdefaultButton = XmPushButtonGadget MidasEvalEvaluateButton;
1829 XmNmarginHeight = 10;
1830 };
1831 controls
1832 {
1833 XmLabelGadget MidasEvalExpressionLabel;
1834 XmText MidasEvalExpressionText;
1835 XmLabelGadget MidasEvalResultLabel;
1836 XmText MidasEvalResultText;
1837 XmPushButtonGadget MidasEvalDismissButton;
1838 XmPushButtonGadget MidasEvalEvaluateButton;
1839 XmPushButtonGadget MidasEvalClearButton;
1840 XmLabelGadget MidasEvalTypeLabel;
1841 XmText MidasEvalTypeText;
1842 };
1843 };
1844 MidasEvalExpressionLabel: XmLabelGadget
1845 {
1846 arguments
1847 {
1848 XmNx = 13;
1849 XmNy = 28;
1850 XmNlabelString =
1851 compound_string("Expression");
1852 XmNtopAttachment = XmATTACH_FORM;
1853 XmNleftAttachment = XmATTACH_FORM;
1854 XmNleftOffset = 13;
1855 XmNtopOffset = 8;
1856 };
1857 };
1858 MidasEvalExpressionText: XmText
1859 {
1860 arguments
1861 {
1862 XmNx = 18;
1863 XmNy = 46;
1864 XmNtopAttachment = XmATTACH_OPPOSITE_WIDGET;
1865 XmNleftAttachment = XmATTACH_FORM;
1866 XmNleftOffset = 14;
1867 XmNtopOffset = 3;
1868 XmNrightOffset = 8;
1869 XmNrightAttachment = XmATTACH_WIDGET;
1870 XmNtopWidget = XmPushButtonGadget MidasEvalEvaluateButton;
1871 XmNrightWidget = XmPushButtonGadget MidasEvalEvaluateButton;
1872 XmNrows = 1;
1873 };
1874 };
1875 MidasEvalResultText: XmText
1876 {
1877 arguments
1878 {
1879 XmNx = 19;
1880 XmNy = 113;
1881 XmNtopAttachment = XmATTACH_OPPOSITE_WIDGET;
1882 XmNleftAttachment = XmATTACH_WIDGET;
1883 XmNleftOffset = 14;
1884 XmNtopOffset = -4;
1885 XmNrightOffset = 16;
1886 XmNrightAttachment = XmATTACH_FORM;
1887 XmNleftWidget = XmLabelGadget MidasEvalResultLabel;
1888 XmNtopWidget = XmLabelGadget MidasEvalResultLabel;
1889 XmNrows = 1;
1890 XmNeditable = false;
1891 };
1892 };
1893 MidasEvalResultLabel: XmLabelGadget
1894 {
1895 arguments
1896 {
1897 XmNx = 17;
1898 XmNy = 80;
1899 XmNlabelString =
1900 compound_string("Result");
1901 XmNtopAttachment = XmATTACH_WIDGET;
1902 XmNleftAttachment = XmATTACH_FORM;
1903 XmNleftOffset = 17;
1904 XmNtopOffset = 15;
1905 XmNtopWidget = XmText MidasEvalExpressionText;
1906 };
1907 };
1908 MidasEvalDismissButton: XmPushButtonGadget
1909 {
1910 arguments
1911 {
1912 XmNx = 22;
1913 XmNy = 174;
1914 XmNlabelString =
1915 compound_string("Dismiss");
1916 XmNtopAttachment = XmATTACH_WIDGET;
1917 XmNleftAttachment = XmATTACH_FORM;
1918 XmNleftOffset = 22;
1919 XmNtopOffset = 5;
1920 XmNtopWidget = XmLabelGadget MidasEvalTypeLabel;
1921 };
1922 };
1923 MidasEvalEvaluateButton: XmPushButtonGadget
1924 {
1925 arguments
1926 {
1927 XmNx = 271;
1928 XmNy = 39;
1929 XmNlabelString =
1930 compound_string("Evaluate");
1931 XmNtopAttachment = XmATTACH_WIDGET;
1932 XmNleftAttachment = XmATTACH_NONE;
1933 XmNleftOffset = 0;
1934 XmNtopOffset = -1;
1935 XmNrightOffset = 11;
1936 XmNrightAttachment = XmATTACH_FORM;
1937 XmNtopWidget = XmLabelGadget MidasEvalExpressionLabel;
1938 };
1939 };
1940 MidasEvalClearButton: XmPushButtonGadget
1941 {
1942 arguments
1943 {
1944 XmNx = 291;
1945 XmNy = 137;
1946 XmNlabelString =
1947 compound_string("Clear");
1948 XmNtopAttachment = XmATTACH_OPPOSITE_WIDGET;
1949 XmNleftAttachment = XmATTACH_NONE;
1950 XmNleftOffset = 0;
1951 XmNtopOffset = 0;
1952 XmNtopWidget = XmPushButtonGadget MidasEvalDismissButton;
1953 XmNrightOffset = 11;
1954 XmNrightAttachment = XmATTACH_FORM;
1955 };
1956 };
1957 MidasStartup: XmFormDialog
1958 {
1959 arguments
1960 {
1961 XmNx = 48;
1962 XmNy = 97;
1963 XmNwidth = 425;
1964 XmNheight = 225;
1965 XmNborderWidth = 1;
1966 XmNdialogTitle =
1967 compound_string("Midas Startup");
1968 XmNautoUnmanage = false;
1969 XmNresizePolicy = XmRESIZE_GROW;
1970 };
1971 controls
1972 {
1973 XmLabelGadget MidasStartupLabel;
1974 XmText MidasStartupText;
1975 XmPushButtonGadget MidasStartupSave;
1976 XmPushButtonGadget MidasStartupDismiss;
1977 };
1978 };
1979 MidasStartupLabel: XmLabelGadget
1980 {
1981 arguments
1982 {
1983 XmNx = 9;
1984 XmNy = 19;
1985 XmNlabelString =
1986 compound_string("Commands to be executed at startup");
1987 XmNtopAttachment = XmATTACH_FORM;
1988 XmNleftAttachment = XmATTACH_FORM;
1989 XmNleftOffset = 15;
1990 XmNtopOffset = 9;
1991 };
1992 };
1993 MidasStartupSave: XmPushButtonGadget
1994 {
1995 arguments
1996 {
1997 XmNx = 19;
1998 XmNy = 189;
1999 XmNlabelString =
2000 compound_string("Save");
2001 XmNtopAttachment = XmATTACH_NONE;
2002 XmNleftAttachment = XmATTACH_FORM;
2003 XmNleftOffset = 19;
2004 XmNtopOffset = 0;
2005 XmNbottomOffset = 7;
2006 XmNbottomAttachment = XmATTACH_FORM;
2007 };
2008 };
2009 MidasStartupDismiss: XmPushButtonGadget
2010 {
2011 arguments
2012 {
2013 XmNx = 235;
2014 XmNy = 192;
2015 XmNlabelString =
2016 compound_string("Dismiss");
2017 XmNtopAttachment = XmATTACH_NONE;
2018 XmNleftAttachment = XmATTACH_NONE;
2019 XmNleftOffset = 0;
2020 XmNtopOffset = 0;
2021 XmNrightOffset = 14;
2022 XmNrightAttachment = XmATTACH_FORM;
2023 XmNbottomOffset = -1;
2024 XmNbottomAttachment = XmATTACH_OPPOSITE_WIDGET;
2025 XmNbottomWidget = XmPushButtonGadget MidasStartupSave;
2026 };
2027 };
2028 MidasStartupText: XmText
2029 {
2030 arguments
2031 {
2032 XmNx = 13;
2033 XmNy = 33;
2034 XmNwidth = 269;
2035 XmNheight = 142;
2036 XmNtopAttachment = XmATTACH_WIDGET;
2037 XmNleftAttachment = XmATTACH_FORM;
2038 XmNleftOffset = 13;
2039 XmNtopOffset = 3;
2040 XmNrightOffset = 15;
2041 XmNrightAttachment = XmATTACH_FORM;
2042 XmNtopWidget = XmLabelGadget MidasStartupLabel;
2043 XmNbottomOffset = 5;
2044 XmNbottomAttachment = XmATTACH_WIDGET;
2045 XmNbottomWidget = XmPushButtonGadget MidasStartupSave;
2046 XmNeditMode = XmMULTI_LINE_EDIT;
2047 };
2048 };
2049 MidasInfo: XmFormDialog
2050 {
2051 arguments
2052 {
2053 XmNx = 150;
2054 XmNy = 96;
2055 XmNborderWidth = 1;
2056 XmNresizePolicy = XmRESIZE_ANY;
2057 XmNwidth = 336;
2058 };
2059 controls
2060 {
2061 XmLabelGadget MidasInfoLabel;
2062 XmText MidasInfoClassText;
2063 XmLabelGadget MidasInfoNameLabel;
2064 XmLabelGadget MidasInfoClassLabel;
2065 XmText MidasInfoNameText;
2066 XmRowColumn MidasInfoButtonBox;
2067 XmArrowButtonGadget MidasInfoUpButton;
2068 };
2069 };
2070 MidasInfoLabel: XmLabelGadget
2071 {
2072 arguments
2073 {
2074 XmNx = 13;
2075 XmNy = 17;
2076 XmNlabelString =
2077 compound_string("Selected Widget");
2078 XmNtopAttachment = XmATTACH_FORM;
2079 XmNleftAttachment = XmATTACH_FORM;
2080 XmNleftOffset = 13;
2081 XmNtopOffset = 6;
2082 XmNalignment = XmALIGNMENT_CENTER;
2083 XmNrightOffset = 9;
2084 XmNrightAttachment = XmATTACH_FORM;
2085 };
2086 };
2087 MidasInfoNameLabel: XmLabelGadget
2088 {
2089 arguments
2090 {
2091 XmNx = 15;
2092 XmNy = 45;
2093 XmNlabelString =
2094 compound_string("Name:");
2095 XmNtopAttachment = XmATTACH_WIDGET;
2096 XmNleftAttachment = XmATTACH_FORM;
2097 XmNleftOffset = 15;
2098 XmNtopOffset = 6;
2099 XmNheight = 27;
2100 XmNtopWidget = XmLabelGadget MidasInfoLabel;
2101 };
2102 };
2103 MidasInfoClassLabel: XmLabelGadget
2104 {
2105 arguments
2106 {
2107 XmNx = 16;
2108 XmNy = 98;
2109 XmNlabelString =
2110 compound_string("Class:");
2111 XmNtopAttachment = XmATTACH_NONE;
2112 XmNleftAttachment = XmATTACH_FORM;
2113 XmNleftOffset = 16;
2114 XmNtopOffset = 0;
2115 XmNbottomOffset = 5;
2116 XmNbottomAttachment = XmATTACH_OPPOSITE_WIDGET;
2117 XmNbottomWidget = XmText MidasInfoClassText;
2118 XmNheight = 31;
2119 };
2120 };
2121 MidasInfoNameText: XmText
2122 {
2123 arguments
2124 {
2125 XmNx = 65;
2126 XmNy = 26;
2127 XmNtopAttachment = XmATTACH_NONE;
2128 XmNleftAttachment = XmATTACH_WIDGET;
2129 XmNleftOffset = 7;
2130 XmNtopOffset = 0;
2131 XmNleftWidget = XmLabelGadget MidasInfoNameLabel;
2132 XmNrightOffset = 2;
2133 XmNrightAttachment = XmATTACH_WIDGET;
2134 XmNeditable = false;
2135 XmNbottomOffset = LabelTextOffset;
2136 XmNbottomAttachment = XmATTACH_OPPOSITE_WIDGET;
2137 XmNbottomWidget = XmLabelGadget MidasInfoNameLabel;
2138 XmNrightWidget = XmArrowButtonGadget MidasInfoUpButton;
2139 };
2140 };
2141 MidasInfoClassText: XmText
2142 {
2143 arguments
2144 {
2145 XmNx = 65;
2146 XmNy = 93;
2147 XmNtopAttachment = XmATTACH_WIDGET;
2148 XmNleftAttachment = XmATTACH_OPPOSITE_WIDGET;
2149 XmNleftOffset = -1;
2150 XmNtopOffset = 8;
2151 XmNrightOffset = 0;
2152 XmNrightAttachment = XmATTACH_OPPOSITE_WIDGET;
2153 XmNeditable = false;
2154 XmNtopWidget = XmText MidasInfoNameText;
2155 XmNleftWidget = XmText MidasInfoNameText;
2156 XmNrightWidget = XmText MidasInfoNameText;
2157 };
2158 };
2159 MidasInfoButtonBox: XmRowColumn
2160 {
2161 arguments
2162 {
2163 XmNx = 7;
2164 XmNy = 159;
2165 XmNborderWidth = 1;
2166 XmNtopAttachment = XmATTACH_WIDGET;
2167 XmNleftAttachment = XmATTACH_FORM;
2168 XmNleftOffset = 0;
2169 XmNtopOffset = 9;
2170 XmNrightOffset = 0;
2171 XmNrightAttachment = XmATTACH_FORM;
2172 XmNtopWidget = XmText MidasInfoClassText;
2173 };
2174 };
2175 MidasCallbackManagerClassLabel: XmLabelGadget
2176 {
2177 arguments
2178 {
2179 XmNx = 14;
2180 XmNy = 41;
2181 XmNlabelString =
2182 compound_string("Class");
2183 XmNtopAttachment = XmATTACH_NONE;
2184 XmNleftAttachment = XmATTACH_NONE;
2185 XmNleftOffset = 0;
2186 XmNtopOffset = 0;
2187 XmNbottomOffset = 6;
2188 XmNbottomAttachment = XmATTACH_OPPOSITE_WIDGET;
2189 XmNbottomWidget = XmText MidasCallbackManagerClassText;
2190 XmNrightOffset = 4;
2191 XmNrightAttachment = XmATTACH_WIDGET;
2192 XmNrightWidget = XmText MidasCallbackManagerClassText;
2193 };
2194 };
2195 MidasCallbackManagerWidgetText: XmText
2196 {
2197 arguments
2198 {
2199 XmNx = 73;
2200 XmNy = 9;
2201 XmNtopAttachment = XmATTACH_NONE;
2202 XmNleftAttachment = XmATTACH_WIDGET;
2203 XmNleftOffset = 2;
2204 XmNtopOffset = 0;
2205 XmNleftWidget = XmLabelGadget MidasCallbackManagerLabel;
2206 XmNrightOffset = 5;
2207 XmNrightAttachment = XmATTACH_FORM;
2208 XmNeditable = false;
2209 XmNbottomOffset = -6;
2210 XmNbottomAttachment = XmATTACH_OPPOSITE_WIDGET;
2211 XmNbottomWidget = XmLabelGadget MidasCallbackManagerLabel;
2212 };
2213 };
2214 MidasCallbackManagerClassText: XmText
2215 {
2216 arguments
2217 {
2218 XmNx = 66;
2219 XmNy = 9;
2220 XmNtopAttachment = XmATTACH_WIDGET;
2221 XmNleftAttachment = XmATTACH_OPPOSITE_WIDGET;
2222 XmNleftOffset = 0;
2223 XmNtopOffset = 7;
2224 XmNrightOffset = 5;
2225 XmNrightAttachment = XmATTACH_FORM;
2226 XmNeditable = false;
2227 XmNtopWidget = XmText MidasCallbackManagerWidgetText;
2228 XmNleftWidget = XmText MidasCallbackManagerWidgetText;
2229 };
2230 };
2231 Class: XmLabelGadget
2232 {
2233 arguments
2234 {
2235 XmNx = 15;
2236 XmNy = 38;
2237 XmNlabelString =
2238 compound_string("Class");
2239 XmNtopAttachment = XmATTACH_NONE;
2240 XmNleftAttachment = XmATTACH_NONE;
2241 XmNleftOffset = 0;
2242 XmNtopOffset = 0;
2243 XmNrightOffset = 4;
2244 XmNrightAttachment = XmATTACH_WIDGET;
2245 XmNrightWidget = XmText ClassText;
2246 XmNbottomOffset = 7;
2247 XmNbottomAttachment = XmATTACH_OPPOSITE_WIDGET;
2248 XmNbottomWidget = XmText ClassText;
2249 };
2250 };
2251 NameText: XmText
2252 {
2253 arguments
2254 {
2255 XmNx = 85;
2256 XmNy = 5;
2257 XmNtopAttachment = XmATTACH_NONE;
2258 XmNleftAttachment = XmATTACH_WIDGET;
2259 XmNleftOffset = 5;
2260 XmNtopOffset = 0;
2261 XmNeditable = false;
2262 XmNleftWidget = XmLabelGadget Label;
2263 XmNbottomOffset = -7;
2264 XmNbottomAttachment = XmATTACH_OPPOSITE_WIDGET;
2265 XmNbottomWidget = XmLabelGadget Label;
2266 XmNrightOffset = 9;
2267 XmNrightAttachment = XmATTACH_FORM;
2268 };
2269 };
2270 ClassText: XmText
2271 {
2272 arguments
2273 {
2274 XmNx = 86;
2275 XmNy = 49;
2276 XmNtopAttachment = XmATTACH_WIDGET;
2277 XmNleftAttachment = XmATTACH_OPPOSITE_WIDGET;
2278 XmNleftOffset = -1;
2279 XmNtopOffset = 5;
2280 XmNeditable = false;
2281 XmNtopWidget = XmText NameText;
2282 XmNleftWidget = XmText NameText;
2283 XmNrightOffset = 9;
2284 XmNrightAttachment = XmATTACH_FORM;
2285 };
2286 };
2287 MidasIngotManagerClassLabel: XmLabelGadget
2288 {
2289 arguments
2290 {
2291 XmNx = 10;
2292 XmNy = 41;
2293 XmNlabelString =
2294 compound_string("Class");
2295 XmNtopAttachment = XmATTACH_NONE;
2296 XmNleftAttachment = XmATTACH_NONE;
2297 XmNleftOffset = 0;
2298 XmNtopOffset = 0;
2299 XmNrightOffset = 8;
2300 XmNrightAttachment = XmATTACH_WIDGET;
2301 XmNrightWidget = XmText MidasIngotManagerClassText;
2302 XmNbottomOffset = 6;
2303 XmNbottomAttachment = XmATTACH_OPPOSITE_WIDGET;
2304 XmNbottomWidget = XmText MidasIngotManagerClassText;
2305 };
2306 };
2307 MidasIngotManagerClassText: XmText
2308 {
2309 arguments
2310 {
2311 XmNx = 68;
2312 XmNy = 55;
2313 XmNtopAttachment = XmATTACH_WIDGET;
2314 XmNleftAttachment = XmATTACH_FORM;
2315 XmNleftOffset = 66;
2316 XmNtopOffset = 3;
2317 XmNrightOffset = 7;
2318 XmNrightAttachment = XmATTACH_FORM;
2319 XmNeditable = false;
2320 XmNtopWidget = XmText MidasIngotManagerNameText;
2321 };
2322 };
2323 MidasIngotManagerNameText: XmText
2324 {
2325 arguments
2326 {
2327 XmNx = 66;
2328 XmNy = 11;
2329 XmNtopAttachment = XmATTACH_NONE;
2330 XmNleftAttachment = XmATTACH_WIDGET;
2331 XmNleftOffset = 9;
2332 XmNtopOffset = 0;
2333 XmNrightOffset = 7;
2334 XmNrightAttachment = XmATTACH_FORM;
2335 XmNeditable = false;
2336 XmNbottomOffset = -8;
2337 XmNbottomAttachment = XmATTACH_OPPOSITE_WIDGET;
2338 XmNbottomWidget = XmLabelGadget MidasIngotManagerLabel;
2339 XmNleftWidget = XmLabelGadget MidasIngotManagerLabel;
2340 };
2341 };
2342 MidasIngotValueOwnerText: XmText
2343 {
2344 arguments
2345 {
2346 XmNx = 89;
2347 XmNy = 51;
2348 XmNtopAttachment = XmATTACH_WIDGET;
2349 XmNleftAttachment = XmATTACH_OPPOSITE_WIDGET;
2350 XmNleftOffset = 0;
2351 XmNtopOffset = 4;
2352 XmNleftWidget = XmText MidasIngotManagerValueText;
2353 XmNrightOffset = 0;
2354 XmNrightAttachment = XmATTACH_OPPOSITE_WIDGET;
2355 XmNrightWidget = XmText MidasIngotManagerValueText;
2356 XmNtopWidget = XmText MidasIngotManagerValueText;
2357 XmNeditable = false;
2358 };
2359 };
2360 MidasIngotValueOwnerLabel: XmLabelGadget
2361 {
2362 arguments
2363 {
2364 XmNx = 5;
2365 XmNy = 45;
2366 XmNlabelString =
2367 compound_string("Owner");
2368 XmNtopAttachment = XmATTACH_NONE;
2369 XmNleftAttachment = XmATTACH_NONE;
2370 XmNleftOffset = 0;
2371 XmNtopOffset = 0;
2372 XmNheight = 22;
2373 XmNbottomOffset = 6;
2374 XmNbottomAttachment = XmATTACH_OPPOSITE_WIDGET;
2375 XmNbottomWidget = XmText MidasIngotValueOwnerText;
2376 XmNrightOffset = 5;
2377 XmNrightAttachment = XmATTACH_WIDGET;
2378 XmNrightWidget = XmText MidasIngotValueOwnerText;
2379 };
2380 };
2381 MidasIngotManagerCreateNew: XmPushButtonGadget
2382 {
2383 arguments
2384 {
2385 XmNx = 257;
2386 XmNy = 366;
2387 XmNlabelString =
2388 compound_string("Create New Ingot...");
2389 XmNtopAttachment = XmATTACH_NONE;
2390 XmNleftAttachment = XmATTACH_NONE;
2391 XmNleftOffset = 0;
2392 XmNtopOffset = 0;
2393 XmNbottomOffset = 6;
2394 XmNbottomAttachment = XmATTACH_FORM;
2395 XmNrightOffset = 9;
2396 XmNrightAttachment = XmATTACH_FORM;
2397 };
2398 };
2399 MidasCreateNewIngot: XmFormDialog
2400 {
2401 arguments
2402 {
2403 XmNx = 99;
2404 XmNy = 665;
2405 XmNwidth = 338;
2406 XmNheight = 139;
2407 XmNborderWidth = 1;
2408 XmNautoUnmanage = false;
2409 XmNdefaultButton = XmPushButtonGadget MidasCreateIngotOk;
2410 };
2411 controls
2412 {
2413 XmLabelGadget MidasCreateIngotNameLabel;
2414 XmLabelGadget MidasCreateIngotOwnerLabel;
2415 XmText MidasCreateIngotOwnerText;
2416 XmArrowButtonGadget MidasCreateIngotUp;
2417 XmText MidasCreateIngotNameText;
2418 XmPushButtonGadget MidasCreateIngotOk;
2419 XmPushButtonGadget MidasCreateIngotCancel;
2420 };
2421 };
2422 MidasCreateIngotNameLabel: XmLabelGadget
2423 {
2424 arguments
2425 {
2426 XmNx = 13;
2427 XmNy = 18;
2428 XmNlabelString =
2429 compound_string("Name");
2430 XmNtopAttachment = XmATTACH_NONE;
2431 XmNleftAttachment = XmATTACH_NONE;
2432 XmNleftOffset = 0;
2433 XmNtopOffset = 0;
2434 XmNrightOffset = 5;
2435 XmNrightAttachment = XmATTACH_WIDGET;
2436 XmNrightWidget = XmText MidasCreateIngotNameText;
2437 XmNbottomOffset = 9;
2438 XmNbottomAttachment = XmATTACH_OPPOSITE_WIDGET;
2439 XmNbottomWidget = XmText MidasCreateIngotNameText;
2440 };
2441 };
2442 MidasCreateIngotOwnerLabel: XmLabelGadget
2443 {
2444 arguments
2445 {
2446 XmNx = 17;
2447 XmNy = 154;
2448 XmNlabelString =
2449 compound_string("Owner");
2450 XmNtopAttachment = XmATTACH_NONE;
2451 XmNleftAttachment = XmATTACH_FORM;
2452 XmNleftOffset = 6;
2453 XmNtopOffset = 0;
2454 XmNrightOffset = 0;
2455 XmNrightAttachment = XmATTACH_NONE;
2456 XmNbottomOffset = 9;
2457 XmNbottomAttachment = XmATTACH_WIDGET;
2458 XmNheight = 28;
2459 XmNbottomWidget = XmPushButtonGadget MidasCreateIngotOk;
2460 };
2461 };
2462 MidasCreateIngotUp: XmArrowButtonGadget
2463 {
2464 arguments
2465 {
2466 XmNx = 299;
2467 XmNy = 76;
2468 XmNtopAttachment = XmATTACH_NONE;
2469 XmNleftAttachment = XmATTACH_NONE;
2470 XmNleftOffset = 0;
2471 XmNtopOffset = 0;
2472 XmNrightOffset = 10;
2473 XmNrightAttachment = XmATTACH_FORM;
2474 XmNbottomOffset = -1;
2475 XmNbottomAttachment = XmATTACH_OPPOSITE_WIDGET;
2476 XmNbottomWidget = XmLabelGadget MidasCreateIngotOwnerLabel;
2477 };
2478 };
2479 MidasCreateIngotNameText: XmText
2480 {
2481 arguments
2482 {
2483 XmNx = 102;
2484 XmNy = 11;
2485 XmNtopAttachment = XmATTACH_NONE;
2486 XmNleftAttachment = XmATTACH_OPPOSITE_WIDGET;
2487 XmNleftOffset = -1;
2488 XmNtopOffset = 0;
2489 XmNbottomOffset = 7;
2490 XmNbottomAttachment = XmATTACH_WIDGET;
2491 XmNbottomWidget = XmText MidasCreateIngotOwnerText;
2492 XmNleftWidget = XmText MidasCreateIngotOwnerText;
2493 XmNwidth = 176;
2494 XmNrightOffset = 0;
2495 XmNrightAttachment = XmATTACH_OPPOSITE_WIDGET;
2496 XmNrightWidget = XmText MidasCreateIngotOwnerText;
2497 };
2498 };
2499 MidasCreateIngotOwnerText: XmText
2500 {
2501 arguments
2502 {
2503 XmNx = 76;
2504 XmNy = 100;
2505 XmNtopAttachment = XmATTACH_NONE;
2506 XmNleftAttachment = XmATTACH_WIDGET;
2507 XmNleftOffset = 6;
2508 XmNtopOffset = 0;
2509 XmNbottomOffset = -5;
2510 XmNbottomAttachment = XmATTACH_OPPOSITE_WIDGET;
2511 XmNrightOffset = 6;
2512 XmNrightAttachment = XmATTACH_WIDGET;
2513 XmNrightWidget = XmArrowButtonGadget MidasCreateIngotUp;
2514 XmNbottomWidget = XmLabelGadget MidasCreateIngotOwnerLabel;
2515 XmNleftWidget = XmLabelGadget MidasCreateIngotOwnerLabel;
2516 };
2517 };
2518 MidasCreateIngotOk: XmPushButtonGadget
2519 {
2520 arguments
2521 {
2522 XmNx = 7;
2523 XmNy = 91;
2524 XmNlabelString =
2525 compound_string("Ok");
2526 XmNtopAttachment = XmATTACH_NONE;
2527 XmNleftAttachment = XmATTACH_FORM;
2528 XmNleftOffset = 29;
2529 XmNtopOffset = 0;
2530 XmNbottomOffset = 3;
2531 XmNbottomAttachment = XmATTACH_FORM;
2532 };
2533 };
2534 MidasCreateIngotCancel: XmPushButtonGadget
2535 {
2536 arguments
2537 {
2538 XmNx = 220;
2539 XmNy = 94;
2540 XmNlabelString =
2541 compound_string("Cancel");
2542 XmNtopAttachment = XmATTACH_NONE;
2543 XmNleftAttachment = XmATTACH_NONE;
2544 XmNleftOffset = 0;
2545 XmNtopOffset = 0;
2546 XmNbottomOffset = 0;
2547 XmNbottomAttachment = XmATTACH_OPPOSITE_WIDGET;
2548 XmNbottomWidget = XmPushButtonGadget MidasCreateIngotOk;
2549 XmNrightOffset = 8;
2550 XmNrightAttachment = XmATTACH_FORM;
2551 };
2552 };
2553 MidasEvalTypeText: XmText
2554 {
2555 arguments
2556 {
2557 XmNx = 155;
2558 XmNy = 83;
2559 XmNtopAttachment = XmATTACH_WIDGET;
2560 XmNleftAttachment = XmATTACH_OPPOSITE_WIDGET;
2561 XmNleftOffset = 0;
2562 XmNtopOffset = 4;
2563 XmNrightOffset = 16;
2564 XmNrightAttachment = XmATTACH_FORM;
2565 XmNleftWidget = XmText MidasEvalResultText;
2566 XmNrows = 1;
2567 XmNeditable = false;
2568 XmNtopWidget = XmText MidasEvalResultText;
2569 };
2570 };
2571 MidasEvalTypeLabel: XmLabelGadget
2572 {
2573 arguments
2574 {
2575 XmNx = 17;
2576 XmNy = 132;
2577 XmNlabelString =
2578 compound_string("Result",separate=true) &
2579 compound_string("Type");
2580 XmNtopAttachment = XmATTACH_NONE;
2581 XmNleftAttachment = XmATTACH_FORM;
2582 XmNleftOffset = 17;
2583 XmNtopOffset = 0;
2584 XmNbottomOffset = 0;
2585 XmNbottomAttachment = XmATTACH_OPPOSITE_WIDGET;
2586 XmNbottomWidget = XmText MidasEvalTypeText;
2587 };
2588 };
2589 MidasInfoUpButton: XmArrowButtonGadget
2590 {
2591 arguments
2592 {
2593 XmNx = 301;
2594 XmNy = 33;
2595 XmNtopAttachment = XmATTACH_NONE;
2596 XmNleftAttachment = XmATTACH_NONE;
2597 XmNleftOffset = 0;
2598 XmNtopOffset = 0;
2599 XmNwidth = 34;
2600 XmNrightOffset = 1;
2601 XmNrightAttachment = XmATTACH_FORM;
2602 XmNheight = 29;
2603 XmNbottomOffset = -28;
2604 XmNbottomAttachment = XmATTACH_WIDGET;
2605 XmNbottomWidget = XmLabelGadget MidasInfoNameLabel;
2606 };
2607 };
2608 MidasIngotManagerCallbackOption: XmToggleButtonGadget
2609 {
2610 arguments
2611 {
2612 XmNlabelString =
2613 compound_string("Invoke Callback When Parent Created");
2614 XmNleftAttachment = XmATTACH_FORM;
2615 XmNtopAttachment = XmATTACH_NONE;
2616 XmNleftOffset = 14;
2617 XmNtopOffset = 2;
2618 XmNy = 176;
2619 XmNbottomAttachment = XmATTACH_WIDGET;
2620 XmNbottomWidget = XmPushButtonGadget MidasIngotManagerCallbackApply;
2621 XmNbottomOffset = 1;
2622 };
2623 };
2624 MidasHelp: XmMainWindow
2625 {
2626 arguments
2627 {
2628 XmNx = 150;
2629 XmNy = 104;
2630 XmNborderWidth = 1;
2631 XmNwidth = 454;
2632 XmNheight = 418;
2633 XmNmessageWindow = XmForm MidasHelpBulletinBoard;
2634 XmNscrollingPolicy = XmAUTOMATIC;
2635 };
2636 controls
2637 {
2638 XmForm MidasHelpBulletinBoard;
2639 unmanaged XmPromptDialog MidasHelpSearchDialog;
2640 };
2641 };
2642 MidasHelpBulletinBoard: XmForm
2643 {
2644 arguments
2645 {
2646 XmNborderWidth = 1;
2647 XmNresizePolicy = XmRESIZE_GROW;
2648 XmNmarginHeight = 10;
2649 };
2650 controls
2651 {
2652 XmPushButtonGadget MidasHelpGoBack;
2653 XmPushButtonGadget MidasHelpSearch;
2654 XmPushButtonGadget MidasHelpDismiss;
2655 };
2656 };
2657 MidasHelpGoBack: XmPushButtonGadget
2658 {
2659 arguments
2660 {
2661 XmNx = 11;
2662 XmNy = 2;
2663 XmNlabelString =
2664 compound_string("Go Back");
2665 XmNleftAttachment = XmATTACH_FORM;
2666 XmNleftOffset = 11;
2667 XmNbottomAttachment = XmATTACH_FORM;
2668 XmNbottomOffset = 0;
2669 };
2670 };
2671 MidasHelpDismiss: XmPushButtonGadget
2672 {
2673 arguments
2674 {
2675 XmNlabelString =
2676 compound_string("Dismiss");
2677 XmNleftAttachment = XmATTACH_NONE;
2678 XmNtopAttachment = XmATTACH_OPPOSITE_WIDGET;
2679 XmNleftOffset = 367;
2680 XmNtopOffset = 0;
2681 XmNx = 367;
2682 XmNrightAttachment = XmATTACH_FORM;
2683 XmNrightOffset = 12;
2684 XmNtopWidget = XmPushButtonGadget MidasHelpGoBack;
2685 };
2686 };
2687 MidasHelpSearch: XmPushButtonGadget
2688 {
2689 arguments
2690 {
2691 XmNlabelString =
2692 compound_string("Search...");
2693 XmNleftAttachment = XmATTACH_WIDGET;
2694 XmNtopAttachment = XmATTACH_OPPOSITE_WIDGET;
2695 XmNleftOffset = 19;
2696 XmNtopOffset = 0;
2697 XmNtopWidget = XmPushButtonGadget MidasHelpGoBack;
2698 XmNleftWidget = XmPushButtonGadget MidasHelpGoBack;
2699 };
2700 };
2701 MidasHelpSearchDialog: XmPromptDialog
2702 {
2703 arguments
2704 {
2705 XmNborderWidth = 1;
2706 };
2707 };
2708 Verb_Is_Toggle: XmToggleButtonGadget
2709 {
2710 arguments
2711 {
2712 XmNlabelString =
2713 compound_string("Is Toggle Button");
2714 XmNleftAttachment = XmATTACH_OPPOSITE_WIDGET;
2715 XmNtopAttachment = XmATTACH_NONE;
2716 XmNleftOffset = 0;
2717 XmNtopOffset = 246;
2718 XmNy = 246;
2719 XmNleftWidget = XmText Verb_Text;
2720 XmNbottomAttachment = XmATTACH_WIDGET;
2721 XmNbottomWidget = XmText Verb_Text;
2722 XmNbottomOffset = 1;
2723 };
2724 callbacks
2725 {
2726 MrmNcreateCallback = procedures
2727 {
2728 CustomCreate(22);
2729 };
2730 };
2731 };
2732 CustomHelp: XmPushButtonGadget
2733 {
2734 arguments
2735 {
2736 XmNx = 86;
2737 XmNy = 51;
2738 XmNlabelString =
2739 compound_string("Help");
2740 XmNtopAttachment = XmATTACH_WIDGET;
2741 XmNleftAttachment = XmATTACH_POSITION;
2742 XmNleftOffset = Midas_Cusom_Button_Offset;
2743 XmNtopOffset = Buitton_Bottom_Offset;
2744 XmNwidth = Midas_Custom_Button_Width;
2745 XmNleftPosition = 75;
2746 XmNtopWidget = XmPushButtonGadget Midas_Custom_OK_Button;
2747 };
2748 callbacks
2749 {
2750 XmNactivateCallback = procedures
2751 {
2752 SendMidas(
2753 "Help . \"http://slacvx.slac.stanford.edu/MidasHelp/v09/custom.html\"");
2754 };
2755 };
2756 };
2757  
2758 end module;
2759