Debian Codegraph @

gui/dialogs/volcano-kilauea.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <PropertyList>
4 <name>Kilauea</name>
5 <layout>vbox</layout>
6 <default-padding>1</default-padding>
7 <modal>false</modal>
8 <width>400</width>
9
10 <group>
11 <layout>hbox</layout>
12
13 <text>
14 <label>Kilauea Activity</label>
15 </text>
16
17 <empty>
18 <stretch>1</stretch>
19 </empty>
20
21 <button>
22 <legend>X</legend>
23 <key>Esc</key>
24 <pref-width>20</pref-width>
25 <pref-height>20</pref-height>
26 <binding>
27 <command>dialog-close</command>
28 </binding>
29 </button>
30 </group>
31
32 <hrule/>
33
34 <group>
35 <layout>table</layout>
36
37 <text>
38 <label>Halemaumau activity</label>
39 <halign>left</halign>
40 <row>0</row>
41 <col>0</col>
42 </text>
43
44 <text>
45 <label>dormant</label>
46 <row>0</row>
47 <col>1</col>
48 </text>
49
50 <slider>
51 <name>halemaumau</name>
52 <row>0</row>
53 <col>2</col>
54 <min>0</min>
55 <max>2</max>
56 <step>1</step>
57 <live>true</live>
58 <property>/environment/volcanoes/kilauea/halemaumau-activity</property>
59 <binding>
60 <command>dialog-apply</command>
61 <object-name>halemaumau</object-name>
62 </binding>
63 </slider>
64
65 <text>
66 <label>active</label>
67 <row>0</row>
68 <col>3</col>
69 </text>
70
71 <text>
72 <label>Puu Oo activity</label>
73 <halign>left</halign>
74 <row>1</row>
75 <col>0</col>
76 </text>
77
78 <text>
79 <label>dormant</label>
80 <row>1</row>
81 <col>1</col>
82 </text>
83
84 <slider>
85 <name>puu-oo</name>
86 <row>1</row>
87 <col>2</col>
88 <min>0</min>
89 <max>3</max>
90 <step>1</step>
91 <live>true</live>
92 <property>/environment/volcanoes/kilauea/puu-oo-activity</property>
93 <binding>
94 <command>dialog-apply</command>
95 <object-name>puu-oo</object-name>
96 </binding>
97 </slider>
98
99 <text>
100 <label>active</label>
101 <row>1</row>
102 <col>3</col>
103 </text>
104
105
106
107 </group>
108
109
110 <empty>
111 <pref-height>12</pref-height>
112 </empty>
113
114 <hrule/>
115
116 <empty>
117 <pref-height>20</pref-height>
118 </empty>
119
120 <group>
121 <layout>table</layout>
122
123 <button>
124 <row>0</row>
125 <col>0</col>
126 <legend>OK</legend>
127 <default>true</default>
128 <equal>true</equal>
129 <binding>
130 <command>dialog-apply</command>
131 </binding>
132
133 <binding>
134 <command>nasal</command>
135 <script>
136 var obj_dlg_id = getprop("/environment/volcanoes/volcano-selected");
137
138 var dlg = gui.Dialog.new(obj_dlg_id);
139 dlg.open();
140
141 </script>
142 </binding>
143
144 <binding>
145 <command>dialog-close</command>
146 </binding>
147 </button>
148
149 </group>
150
151 </PropertyList>