forked from MDSplus/mdsplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IDL.uil
151 lines (146 loc) · 4.92 KB
/
IDL.uil
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
module IDL_UIL
names = case_sensitive
version =
"v1.0"
include file "XmdsWidgets.uil";
object
IDL: XmFormDialog
{
arguments
{
XmNdefaultPosition = true;
XmNrubberPositioning = false;
XmNautoUnmanage = false;
XmNdialogTitle =
compound_string("IDL command pseudo device");
XmNheight = 400;
XmNmarginHeight = 10;
XmNmarginWidth = 10;
XmNborderWidth = 0;
};
controls
{
XmLabelGadget
{
arguments
{
XmNlabelString =
compound_string("Comment:");
XmNtopAttachment = XmATTACH_FORM;
XmNtopOffset = 0;
XmNleftAttachment = XmATTACH_FORM;
XmNleftOffset = 0;
};
};
user_defined procedure XmdsCreateExprField
{
arguments
{
XmNcolumns = 48;
XmNtopAttachment = XmATTACH_FORM;
XmNtopOffset = 0;
XmNleftAttachment = XmATTACH_FORM;
XmNleftOffset = 80;
XmdsNnid = DEVICE_NID;
XmdsNnidOffset = IDL$N_COMMENT;
XmdsNdefaultQuote = true;
XmdsNautoQuote = true;
};
};
XmLabelGadget
{
arguments
{
XmNlabelString =
compound_string("IDL Commands:");
XmNtopAttachment = XmATTACH_FORM;
XmNtopOffset = 40;
XmNleftAttachment = XmATTACH_FORM;
XmNleftOffset = 0;
};
};
user_defined procedure XmdsCreateExpr
{
arguments
{
XmdsNnid = DEVICE_NID;
XmdsNnidOffset = IDL$N_COMMANDS;
XmdsNdefaultQuote = true;
XmdsNautoQuote = true;
XmNscrollVertical = true;
XmNtopAttachment = XmATTACH_FORM;
XmNtopOffset = 66;
XmNrightAttachment = XmATTACH_FORM;
XmNleftAttachment = XmATTACH_FORM;
XmNleftOffset = 0;
XmNbottomAttachment = XmATTACH_FORM;
XmNbottomOffset = 68;
XmNrightOffset = 0;
XmNnavigationType = XmTAB_GROUP;
XmNeditMode = XmMULTI_LINE_EDIT;
};
};
user_defined procedure XmdsCreateOkButton
{
arguments
{
XmNleftAttachment = XmATTACH_FORM;
XmNbottomAttachment = XmATTACH_FORM;
XmNbottomOffset = 0;
};
};
user_defined procedure XmdsCreateCancelButton
{
arguments
{
XmNbottomAttachment = XmATTACH_FORM;
XmNrightAttachment = XmATTACH_FORM;
XmNbottomOffset = 0;
};
};
user_defined procedure XmdsCreateApplyButton
{
arguments
{
XmNbottomAttachment = XmATTACH_FORM;
XmNbottomOffset = 0;
XmNleftAttachment = XmATTACH_POSITION;
XmNleftPosition = 30;
};
};
user_defined procedure XmdsCreateResetButton
{
arguments
{
XmNleftAttachment = XmATTACH_POSITION;
XmNleftPosition = 60;
XmNbottomAttachment = XmATTACH_FORM;
XmNbottomOffset = 0;
};
};
user_defined procedure XmdsCreateXdBoxOnOffButton
{
arguments
{
XmdsNnidOffset = IDL$N_EXEC_ACTION;
XmNleftAttachment = XmATTACH_FORM;
XmNtopAttachment = XmATTACH_NONE;
XmNleftOffset = 13;
XmNtopOffset = 341;
XmNlabelString =
compound_string("Execute Action");
XmNbottomAttachment = XmATTACH_FORM;
XmNbottomOffset = 36;
XmNy = 341;
XmdsNnid = DEVICE_NID;
};
};
};
};
value
DEVICE_NID: -1;
IDL$N_HEAD: 0;
IDL$N_COMMENT: 1;
IDL$N_COMMANDS: 2;
IDL$N_EXEC_ACTION: 3;
end module;