]> Pileus Git - ~andy/csm213a-hw/blob - vis/visual.ui
e8cfec5344f6dee877dd4a2f1172d9da21af04f9
[~andy/csm213a-hw] / vis / visual.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3   <requires lib="gtk+" version="2.24"/>
4   <!-- interface-naming-policy project-wide -->
5   <object class="GtkAction" id="serial_con">
6     <property name="label" translatable="yes">Serial</property>
7     <property name="stock_id">gtk-connect</property>
8     <signal name="activate" handler="on_serial" swapped="no"/>
9   </object>
10   <object class="GtkAction" id="setting_act">
11     <property name="label" translatable="yes">Settings</property>
12     <property name="stock_id">gtk-preferences</property>
13     <signal name="activate" handler="on_show" swapped="no"/>
14   </object>
15   <object class="GtkAction" id="xively_con">
16     <property name="label" translatable="yes">Xively</property>
17     <property name="stock_id">gtk-connect</property>
18     <signal name="activate" handler="on_xively" swapped="no"/>
19   </object>
20   <object class="GtkAdjustment" id="a2d_adj">
21     <property name="upper">100</property>
22     <property name="value">1</property>
23     <property name="step_increment">1</property>
24     <property name="page_increment">10</property>
25   </object>
26   <object class="GtkAdjustment" id="accel_adj">
27     <property name="upper">100</property>
28     <property name="value">1</property>
29     <property name="step_increment">1</property>
30     <property name="page_increment">10</property>
31   </object>
32   <object class="GtkAdjustment" id="baud_adj">
33     <property name="upper">1.7976931348623157e+308</property>
34     <property name="step_increment">1</property>
35     <property name="page_increment">10</property>
36   </object>
37   <object class="GtkAdjustment" id="datab_adj">
38     <property name="lower">6</property>
39     <property name="upper">8</property>
40     <property name="step_increment">1</property>
41     <property name="page_increment">10</property>
42   </object>
43   <object class="GtkAdjustment" id="light_adj">
44     <property name="upper">100</property>
45     <property name="value">1</property>
46     <property name="step_increment">1</property>
47     <property name="page_increment">10</property>
48   </object>
49   <object class="GtkAdjustment" id="mag_adj">
50     <property name="upper">100</property>
51     <property name="value">1</property>
52     <property name="step_increment">1</property>
53     <property name="page_increment">10</property>
54   </object>
55   <object class="GtkTextBuffer" id="serial_buf"/>
56   <object class="GtkDialog" id="settings">
57     <property name="can_focus">False</property>
58     <property name="border_width">5</property>
59     <property name="modal">True</property>
60     <property name="destroy_with_parent">True</property>
61     <property name="type_hint">dialog</property>
62     <property name="transient_for">window</property>
63     <signal name="close" handler="on_hide" swapped="no"/>
64     <signal name="delete-event" handler="on_hide" swapped="no"/>
65     <child internal-child="vbox">
66       <object class="GtkVBox" id="settings_box">
67         <property name="visible">True</property>
68         <property name="can_focus">False</property>
69         <property name="spacing">2</property>
70         <child internal-child="action_area">
71           <object class="GtkHButtonBox" id="settings_act">
72             <property name="visible">True</property>
73             <property name="can_focus">False</property>
74             <property name="layout_style">end</property>
75             <child>
76               <object class="GtkButton" id="close">
77                 <property name="label" translatable="yes">Close</property>
78                 <property name="visible">True</property>
79                 <property name="can_focus">True</property>
80                 <property name="receives_default">True</property>
81                 <signal name="clicked" handler="on_hide" swapped="no"/>
82               </object>
83               <packing>
84                 <property name="expand">False</property>
85                 <property name="fill">False</property>
86                 <property name="position">0</property>
87               </packing>
88             </child>
89           </object>
90           <packing>
91             <property name="expand">False</property>
92             <property name="fill">True</property>
93             <property name="position">0</property>
94           </packing>
95         </child>
96         <child>
97           <object class="GtkFrame" id="serial_frame">
98             <property name="visible">True</property>
99             <property name="can_focus">False</property>
100             <property name="label_xalign">0</property>
101             <property name="shadow_type">none</property>
102             <child>
103               <object class="GtkAlignment" id="align1">
104                 <property name="visible">True</property>
105                 <property name="can_focus">False</property>
106                 <property name="left_padding">12</property>
107                 <child>
108                   <object class="GtkTable" id="table1">
109                     <property name="visible">True</property>
110                     <property name="can_focus">False</property>
111                     <property name="n_rows">4</property>
112                     <property name="n_columns">2</property>
113                     <property name="column_spacing">20</property>
114                     <child>
115                       <object class="GtkLabel" id="baud_lbl">
116                         <property name="visible">True</property>
117                         <property name="can_focus">False</property>
118                         <property name="xalign">0</property>
119                         <property name="label" translatable="yes">Baud rate</property>
120                       </object>
121                       <packing>
122                         <property name="x_options">GTK_FILL</property>
123                         <property name="y_options">GTK_FILL</property>
124                       </packing>
125                     </child>
126                     <child>
127                       <object class="GtkLabel" id="stopb_lbl">
128                         <property name="visible">True</property>
129                         <property name="can_focus">False</property>
130                         <property name="xalign">0</property>
131                         <property name="label" translatable="yes">Stop bits</property>
132                       </object>
133                       <packing>
134                         <property name="top_attach">2</property>
135                         <property name="bottom_attach">3</property>
136                         <property name="x_options">GTK_FILL</property>
137                         <property name="y_options">GTK_FILL</property>
138                       </packing>
139                     </child>
140                     <child>
141                       <object class="GtkLabel" id="datab_lbl">
142                         <property name="visible">True</property>
143                         <property name="can_focus">False</property>
144                         <property name="xalign">0</property>
145                         <property name="label" translatable="yes">Data bits</property>
146                       </object>
147                       <packing>
148                         <property name="top_attach">3</property>
149                         <property name="bottom_attach">4</property>
150                         <property name="x_options">GTK_FILL</property>
151                         <property name="y_options">GTK_FILL</property>
152                       </packing>
153                     </child>
154                     <child>
155                       <object class="GtkSpinButton" id="baudrate">
156                         <property name="visible">True</property>
157                         <property name="can_focus">True</property>
158                         <property name="invisible_char">●</property>
159                         <property name="primary_icon_activatable">False</property>
160                         <property name="secondary_icon_activatable">False</property>
161                         <property name="primary_icon_sensitive">True</property>
162                         <property name="secondary_icon_sensitive">True</property>
163                         <property name="adjustment">baud_adj</property>
164                       </object>
165                       <packing>
166                         <property name="left_attach">1</property>
167                         <property name="right_attach">2</property>
168                         <property name="y_options">GTK_FILL</property>
169                       </packing>
170                     </child>
171                     <child>
172                       <object class="GtkSpinButton" id="stopbits">
173                         <property name="visible">True</property>
174                         <property name="can_focus">True</property>
175                         <property name="invisible_char">●</property>
176                         <property name="primary_icon_activatable">False</property>
177                         <property name="secondary_icon_activatable">False</property>
178                         <property name="primary_icon_sensitive">True</property>
179                         <property name="secondary_icon_sensitive">True</property>
180                         <property name="adjustment">stopb_adj</property>
181                       </object>
182                       <packing>
183                         <property name="left_attach">1</property>
184                         <property name="right_attach">2</property>
185                         <property name="top_attach">2</property>
186                         <property name="bottom_attach">3</property>
187                         <property name="y_options">GTK_FILL</property>
188                       </packing>
189                     </child>
190                     <child>
191                       <object class="GtkSpinButton" id="databits">
192                         <property name="visible">True</property>
193                         <property name="can_focus">True</property>
194                         <property name="invisible_char">●</property>
195                         <property name="primary_icon_activatable">False</property>
196                         <property name="secondary_icon_activatable">False</property>
197                         <property name="primary_icon_sensitive">True</property>
198                         <property name="secondary_icon_sensitive">True</property>
199                         <property name="adjustment">datab_adj</property>
200                       </object>
201                       <packing>
202                         <property name="left_attach">1</property>
203                         <property name="right_attach">2</property>
204                         <property name="top_attach">3</property>
205                         <property name="bottom_attach">4</property>
206                         <property name="y_options">GTK_FILL</property>
207                       </packing>
208                     </child>
209                     <child>
210                       <object class="GtkLabel" id="parity_lbl">
211                         <property name="visible">True</property>
212                         <property name="can_focus">False</property>
213                         <property name="xalign">0</property>
214                         <property name="label" translatable="yes">Parity</property>
215                       </object>
216                       <packing>
217                         <property name="top_attach">1</property>
218                         <property name="bottom_attach">2</property>
219                         <property name="x_options">GTK_FILL</property>
220                         <property name="y_options">GTK_FILL</property>
221                       </packing>
222                     </child>
223                     <child>
224                       <object class="GtkEntry" id="parity">
225                         <property name="visible">True</property>
226                         <property name="can_focus">True</property>
227                         <property name="invisible_char">●</property>
228                         <property name="invisible_char_set">True</property>
229                         <property name="primary_icon_activatable">False</property>
230                         <property name="secondary_icon_activatable">False</property>
231                         <property name="primary_icon_sensitive">True</property>
232                         <property name="secondary_icon_sensitive">True</property>
233                       </object>
234                       <packing>
235                         <property name="left_attach">1</property>
236                         <property name="right_attach">2</property>
237                         <property name="top_attach">1</property>
238                         <property name="bottom_attach">2</property>
239                         <property name="y_options">GTK_FILL</property>
240                       </packing>
241                     </child>
242                   </object>
243                 </child>
244               </object>
245             </child>
246             <child type="label">
247               <object class="GtkLabel" id="label1">
248                 <property name="visible">True</property>
249                 <property name="can_focus">False</property>
250                 <property name="label" translatable="yes">Serial Settings</property>
251                 <attributes>
252                   <attribute name="weight" value="bold"/>
253                 </attributes>
254               </object>
255             </child>
256           </object>
257           <packing>
258             <property name="expand">False</property>
259             <property name="fill">True</property>
260             <property name="position">1</property>
261           </packing>
262         </child>
263         <child>
264           <object class="GtkFrame" id="xively_frame">
265             <property name="visible">True</property>
266             <property name="can_focus">False</property>
267             <property name="label_xalign">0</property>
268             <property name="shadow_type">none</property>
269             <child>
270               <object class="GtkAlignment" id="align">
271                 <property name="visible">True</property>
272                 <property name="can_focus">False</property>
273                 <property name="left_padding">12</property>
274                 <child>
275                   <object class="GtkTable" id="table">
276                     <property name="visible">True</property>
277                     <property name="can_focus">False</property>
278                     <property name="n_rows">3</property>
279                     <property name="n_columns">2</property>
280                     <property name="column_spacing">20</property>
281                     <child>
282                       <object class="GtkLabel" id="user_lbl">
283                         <property name="visible">True</property>
284                         <property name="can_focus">False</property>
285                         <property name="xalign">0</property>
286                         <property name="label" translatable="yes">Username</property>
287                       </object>
288                       <packing>
289                         <property name="x_options">GTK_FILL</property>
290                         <property name="y_options">GTK_FILL</property>
291                       </packing>
292                     </child>
293                     <child>
294                       <object class="GtkLabel" id="pass_lbl">
295                         <property name="visible">True</property>
296                         <property name="can_focus">False</property>
297                         <property name="xalign">0</property>
298                         <property name="label" translatable="yes">Password</property>
299                       </object>
300                       <packing>
301                         <property name="top_attach">1</property>
302                         <property name="bottom_attach">2</property>
303                         <property name="x_options">GTK_FILL</property>
304                         <property name="y_options">GTK_FILL</property>
305                       </packing>
306                     </child>
307                     <child>
308                       <object class="GtkLabel" id="api_lbl">
309                         <property name="visible">True</property>
310                         <property name="can_focus">False</property>
311                         <property name="xalign">0</property>
312                         <property name="label" translatable="yes">API Key</property>
313                       </object>
314                       <packing>
315                         <property name="top_attach">2</property>
316                         <property name="bottom_attach">3</property>
317                         <property name="x_options">GTK_FILL</property>
318                         <property name="y_options">GTK_FILL</property>
319                       </packing>
320                     </child>
321                     <child>
322                       <object class="GtkEntry" id="username">
323                         <property name="visible">True</property>
324                         <property name="can_focus">True</property>
325                         <property name="invisible_char">●</property>
326                         <property name="invisible_char_set">True</property>
327                         <property name="primary_icon_activatable">False</property>
328                         <property name="secondary_icon_activatable">False</property>
329                         <property name="primary_icon_sensitive">True</property>
330                         <property name="secondary_icon_sensitive">True</property>
331                       </object>
332                       <packing>
333                         <property name="left_attach">1</property>
334                         <property name="right_attach">2</property>
335                         <property name="y_options">GTK_FILL</property>
336                       </packing>
337                     </child>
338                     <child>
339                       <object class="GtkEntry" id="password">
340                         <property name="visible">True</property>
341                         <property name="can_focus">True</property>
342                         <property name="invisible_char">●</property>
343                         <property name="invisible_char_set">True</property>
344                         <property name="primary_icon_activatable">False</property>
345                         <property name="secondary_icon_activatable">False</property>
346                         <property name="primary_icon_sensitive">True</property>
347                         <property name="secondary_icon_sensitive">True</property>
348                       </object>
349                       <packing>
350                         <property name="left_attach">1</property>
351                         <property name="right_attach">2</property>
352                         <property name="top_attach">1</property>
353                         <property name="bottom_attach">2</property>
354                         <property name="y_options">GTK_FILL</property>
355                       </packing>
356                     </child>
357                     <child>
358                       <object class="GtkEntry" id="apikey">
359                         <property name="visible">True</property>
360                         <property name="can_focus">True</property>
361                         <property name="invisible_char">●</property>
362                         <property name="invisible_char_set">True</property>
363                         <property name="primary_icon_activatable">False</property>
364                         <property name="secondary_icon_activatable">False</property>
365                         <property name="primary_icon_sensitive">True</property>
366                         <property name="secondary_icon_sensitive">True</property>
367                       </object>
368                       <packing>
369                         <property name="left_attach">1</property>
370                         <property name="right_attach">2</property>
371                         <property name="top_attach">2</property>
372                         <property name="bottom_attach">3</property>
373                         <property name="y_options">GTK_FILL</property>
374                       </packing>
375                     </child>
376                   </object>
377                 </child>
378               </object>
379             </child>
380             <child type="label">
381               <object class="GtkLabel" id="label">
382                 <property name="visible">True</property>
383                 <property name="can_focus">False</property>
384                 <property name="label" translatable="yes">Xively Settings</property>
385                 <attributes>
386                   <attribute name="weight" value="bold"/>
387                 </attributes>
388               </object>
389             </child>
390           </object>
391           <packing>
392             <property name="expand">False</property>
393             <property name="fill">True</property>
394             <property name="position">2</property>
395           </packing>
396         </child>
397       </object>
398     </child>
399     <action-widgets>
400       <action-widget response="0">close</action-widget>
401     </action-widgets>
402   </object>
403   <object class="GtkAdjustment" id="stopb_adj">
404     <property name="lower">1</property>
405     <property name="upper">2</property>
406     <property name="step_increment">1</property>
407     <property name="page_increment">10</property>
408   </object>
409   <object class="GtkAdjustment" id="touch_adj">
410     <property name="upper">100</property>
411     <property name="value">1</property>
412     <property name="step_increment">1</property>
413     <property name="page_increment">10</property>
414   </object>
415   <object class="GtkWindow" id="window">
416     <property name="can_focus">False</property>
417     <signal name="destroy" handler="on_destroy" swapped="no"/>
418     <signal name="key-press-event" handler="on_key" swapped="no"/>
419     <child>
420       <object class="GtkVBox" id="vbox">
421         <property name="visible">True</property>
422         <property name="can_focus">False</property>
423         <child>
424           <object class="GtkToolbar" id="toolbar">
425             <property name="visible">True</property>
426             <property name="can_focus">False</property>
427             <property name="toolbar_style">both</property>
428             <child>
429               <object class="GtkToggleToolButton" id="serial_btn">
430                 <property name="related_action">serial_con</property>
431                 <property name="visible">True</property>
432                 <property name="can_focus">False</property>
433                 <property name="use_underline">True</property>
434               </object>
435               <packing>
436                 <property name="expand">False</property>
437                 <property name="homogeneous">True</property>
438               </packing>
439             </child>
440             <child>
441               <object class="GtkToggleToolButton" id="xively_btn">
442                 <property name="related_action">xively_con</property>
443                 <property name="visible">True</property>
444                 <property name="can_focus">False</property>
445                 <property name="use_underline">True</property>
446               </object>
447               <packing>
448                 <property name="expand">False</property>
449                 <property name="homogeneous">True</property>
450               </packing>
451             </child>
452             <child>
453               <object class="GtkSeparatorToolItem" id="sep">
454                 <property name="visible">True</property>
455                 <property name="can_focus">False</property>
456               </object>
457               <packing>
458                 <property name="expand">False</property>
459                 <property name="homogeneous">True</property>
460               </packing>
461             </child>
462             <child>
463               <object class="GtkToolButton" id="settings_btn">
464                 <property name="related_action">setting_act</property>
465                 <property name="visible">True</property>
466                 <property name="can_focus">False</property>
467                 <property name="label" translatable="yes">settings</property>
468                 <property name="use_underline">True</property>
469               </object>
470               <packing>
471                 <property name="expand">False</property>
472                 <property name="homogeneous">True</property>
473               </packing>
474             </child>
475           </object>
476           <packing>
477             <property name="expand">False</property>
478             <property name="fill">True</property>
479             <property name="position">0</property>
480           </packing>
481         </child>
482         <child>
483           <object class="GtkNotebook" id="notebook">
484             <property name="visible">True</property>
485             <property name="can_focus">True</property>
486             <property name="has_focus">True</property>
487             <child>
488               <object class="GtkTable" id="controls">
489                 <property name="visible">True</property>
490                 <property name="can_focus">False</property>
491                 <property name="n_rows">6</property>
492                 <property name="n_columns">2</property>
493                 <property name="column_spacing">20</property>
494                 <child>
495                   <object class="GtkCheckButton" id="accel_btn">
496                     <property name="label" translatable="yes">Acceorometer</property>
497                     <property name="visible">True</property>
498                     <property name="can_focus">True</property>
499                     <property name="receives_default">False</property>
500                     <property name="draw_indicator">True</property>
501                     <signal name="toggled" handler="on_enable" swapped="no"/>
502                   </object>
503                   <packing>
504                     <property name="top_attach">1</property>
505                     <property name="bottom_attach">2</property>
506                     <property name="x_options">GTK_FILL</property>
507                     <property name="y_options">GTK_FILL</property>
508                   </packing>
509                 </child>
510                 <child>
511                   <object class="GtkCheckButton" id="mag_btn">
512                     <property name="label" translatable="yes">Magnometer</property>
513                     <property name="visible">True</property>
514                     <property name="can_focus">True</property>
515                     <property name="receives_default">False</property>
516                     <property name="draw_indicator">True</property>
517                     <signal name="toggled" handler="on_enable" swapped="no"/>
518                   </object>
519                   <packing>
520                     <property name="top_attach">2</property>
521                     <property name="bottom_attach">3</property>
522                     <property name="x_options">GTK_FILL</property>
523                     <property name="y_options">GTK_FILL</property>
524                   </packing>
525                 </child>
526                 <child>
527                   <object class="GtkCheckButton" id="a2d_btn">
528                     <property name="label" translatable="yes">Analog to Digital</property>
529                     <property name="visible">True</property>
530                     <property name="can_focus">True</property>
531                     <property name="receives_default">False</property>
532                     <property name="draw_indicator">True</property>
533                     <signal name="toggled" handler="on_enable" swapped="no"/>
534                   </object>
535                   <packing>
536                     <property name="top_attach">5</property>
537                     <property name="bottom_attach">6</property>
538                     <property name="x_options">GTK_FILL</property>
539                     <property name="y_options">GTK_FILL</property>
540                   </packing>
541                 </child>
542                 <child>
543                   <object class="GtkCheckButton" id="touch_btn">
544                     <property name="label" translatable="yes">Tounch Sensor</property>
545                     <property name="visible">True</property>
546                     <property name="can_focus">True</property>
547                     <property name="receives_default">False</property>
548                     <property name="draw_indicator">True</property>
549                     <signal name="toggled" handler="on_enable" swapped="no"/>
550                   </object>
551                   <packing>
552                     <property name="top_attach">3</property>
553                     <property name="bottom_attach">4</property>
554                     <property name="x_options">GTK_FILL</property>
555                     <property name="y_options">GTK_FILL</property>
556                   </packing>
557                 </child>
558                 <child>
559                   <object class="GtkCheckButton" id="light_btn">
560                     <property name="label" translatable="yes">Light Sensor</property>
561                     <property name="visible">True</property>
562                     <property name="can_focus">True</property>
563                     <property name="receives_default">False</property>
564                     <property name="draw_indicator">True</property>
565                     <signal name="toggled" handler="on_enable" swapped="no"/>
566                   </object>
567                   <packing>
568                     <property name="top_attach">4</property>
569                     <property name="bottom_attach">5</property>
570                     <property name="x_options">GTK_FILL</property>
571                     <property name="y_options">GTK_FILL</property>
572                   </packing>
573                 </child>
574                 <child>
575                   <object class="GtkLabel" id="control_sensor">
576                     <property name="visible">True</property>
577                     <property name="can_focus">False</property>
578                     <property name="label" translatable="yes">Sensor</property>
579                     <attributes>
580                       <attribute name="weight" value="bold"/>
581                     </attributes>
582                   </object>
583                   <packing>
584                     <property name="x_options">GTK_FILL</property>
585                     <property name="y_options">GTK_FILL</property>
586                   </packing>
587                 </child>
588                 <child>
589                   <object class="GtkLabel" id="control_rate">
590                     <property name="visible">True</property>
591                     <property name="can_focus">False</property>
592                     <property name="label" translatable="yes">Collection Rate</property>
593                     <attributes>
594                       <attribute name="weight" value="bold"/>
595                     </attributes>
596                   </object>
597                   <packing>
598                     <property name="left_attach">1</property>
599                     <property name="right_attach">2</property>
600                     <property name="y_options">GTK_FILL</property>
601                   </packing>
602                 </child>
603                 <child>
604                   <object class="GtkSpinButton" id="a2d_spin">
605                     <property name="visible">True</property>
606                     <property name="can_focus">True</property>
607                     <property name="invisible_char">●</property>
608                     <property name="primary_icon_activatable">False</property>
609                     <property name="secondary_icon_activatable">False</property>
610                     <property name="primary_icon_sensitive">True</property>
611                     <property name="secondary_icon_sensitive">True</property>
612                     <property name="adjustment">a2d_adj</property>
613                     <property name="numeric">True</property>
614                     <signal name="change-value" handler="on_rate" swapped="no"/>
615                   </object>
616                   <packing>
617                     <property name="left_attach">1</property>
618                     <property name="right_attach">2</property>
619                     <property name="top_attach">5</property>
620                     <property name="bottom_attach">6</property>
621                     <property name="y_options">GTK_FILL</property>
622                   </packing>
623                 </child>
624                 <child>
625                   <object class="GtkSpinButton" id="accel_spin">
626                     <property name="visible">True</property>
627                     <property name="can_focus">True</property>
628                     <property name="invisible_char">●</property>
629                     <property name="primary_icon_activatable">False</property>
630                     <property name="secondary_icon_activatable">False</property>
631                     <property name="primary_icon_sensitive">True</property>
632                     <property name="secondary_icon_sensitive">True</property>
633                     <property name="adjustment">accel_adj</property>
634                     <property name="numeric">True</property>
635                   </object>
636                   <packing>
637                     <property name="left_attach">1</property>
638                     <property name="right_attach">2</property>
639                     <property name="top_attach">1</property>
640                     <property name="bottom_attach">2</property>
641                     <property name="y_options">GTK_FILL</property>
642                   </packing>
643                 </child>
644                 <child>
645                   <object class="GtkSpinButton" id="mag_spin">
646                     <property name="visible">True</property>
647                     <property name="can_focus">True</property>
648                     <property name="invisible_char">●</property>
649                     <property name="primary_icon_activatable">False</property>
650                     <property name="secondary_icon_activatable">False</property>
651                     <property name="primary_icon_sensitive">True</property>
652                     <property name="secondary_icon_sensitive">True</property>
653                     <property name="adjustment">mag_adj</property>
654                     <property name="numeric">True</property>
655                     <signal name="change-value" handler="on_rate" swapped="no"/>
656                   </object>
657                   <packing>
658                     <property name="left_attach">1</property>
659                     <property name="right_attach">2</property>
660                     <property name="top_attach">2</property>
661                     <property name="bottom_attach">3</property>
662                     <property name="y_options">GTK_FILL</property>
663                   </packing>
664                 </child>
665                 <child>
666                   <object class="GtkSpinButton" id="touch_spin">
667                     <property name="visible">True</property>
668                     <property name="can_focus">True</property>
669                     <property name="invisible_char">●</property>
670                     <property name="primary_icon_activatable">False</property>
671                     <property name="secondary_icon_activatable">False</property>
672                     <property name="primary_icon_sensitive">True</property>
673                     <property name="secondary_icon_sensitive">True</property>
674                     <property name="adjustment">touch_adj</property>
675                     <property name="numeric">True</property>
676                     <signal name="change-value" handler="on_rate" swapped="no"/>
677                   </object>
678                   <packing>
679                     <property name="left_attach">1</property>
680                     <property name="right_attach">2</property>
681                     <property name="top_attach">3</property>
682                     <property name="bottom_attach">4</property>
683                     <property name="y_options">GTK_FILL</property>
684                   </packing>
685                 </child>
686                 <child>
687                   <object class="GtkSpinButton" id="light_spin">
688                     <property name="visible">True</property>
689                     <property name="can_focus">True</property>
690                     <property name="invisible_char">●</property>
691                     <property name="primary_icon_activatable">False</property>
692                     <property name="secondary_icon_activatable">False</property>
693                     <property name="primary_icon_sensitive">True</property>
694                     <property name="secondary_icon_sensitive">True</property>
695                     <property name="adjustment">light_adj</property>
696                     <property name="numeric">True</property>
697                     <signal name="change-value" handler="on_rate" swapped="no"/>
698                   </object>
699                   <packing>
700                     <property name="left_attach">1</property>
701                     <property name="right_attach">2</property>
702                     <property name="top_attach">4</property>
703                     <property name="bottom_attach">5</property>
704                     <property name="y_options">GTK_FILL</property>
705                   </packing>
706                 </child>
707               </object>
708             </child>
709             <child type="tab">
710               <object class="GtkLabel" id="controls_tab">
711                 <property name="visible">True</property>
712                 <property name="can_focus">False</property>
713                 <property name="xpad">1</property>
714                 <property name="label" translatable="yes">Controls</property>
715               </object>
716               <packing>
717                 <property name="tab_fill">False</property>
718               </packing>
719             </child>
720             <child>
721               <object class="GtkTable" id="data">
722                 <property name="visible">True</property>
723                 <property name="can_focus">False</property>
724                 <property name="n_rows">6</property>
725                 <property name="n_columns">2</property>
726                 <property name="column_spacing">20</property>
727                 <property name="row_spacing">5</property>
728                 <child>
729                   <object class="GtkLabel" id="data_sensor">
730                     <property name="visible">True</property>
731                     <property name="can_focus">False</property>
732                     <property name="label" translatable="yes">Sensor</property>
733                     <attributes>
734                       <attribute name="weight" value="bold"/>
735                     </attributes>
736                   </object>
737                   <packing>
738                     <property name="x_options">GTK_FILL</property>
739                     <property name="y_options">GTK_FILL</property>
740                   </packing>
741                 </child>
742                 <child>
743                   <object class="GtkLabel" id="data_value">
744                     <property name="visible">True</property>
745                     <property name="can_focus">False</property>
746                     <property name="label" translatable="yes">Current Value</property>
747                     <attributes>
748                       <attribute name="weight" value="bold"/>
749                     </attributes>
750                   </object>
751                   <packing>
752                     <property name="left_attach">1</property>
753                     <property name="right_attach">2</property>
754                     <property name="y_options">GTK_FILL</property>
755                   </packing>
756                 </child>
757                 <child>
758                   <object class="GtkHBox" id="accel_val">
759                     <property name="visible">True</property>
760                     <property name="can_focus">False</property>
761                     <child>
762                       <object class="GtkLabel" id="a2d6">
763                         <property name="visible">True</property>
764                         <property name="can_focus">False</property>
765                         <property name="xalign">0</property>
766                         <property name="label" translatable="yes">X: 0.0</property>
767                       </object>
768                       <packing>
769                         <property name="expand">True</property>
770                         <property name="fill">True</property>
771                         <property name="position">0</property>
772                       </packing>
773                     </child>
774                     <child>
775                       <object class="GtkLabel" id="a2d7">
776                         <property name="visible">True</property>
777                         <property name="can_focus">False</property>
778                         <property name="xalign">0</property>
779                         <property name="label" translatable="yes">Y: 0.0</property>
780                       </object>
781                       <packing>
782                         <property name="expand">True</property>
783                         <property name="fill">True</property>
784                         <property name="position">1</property>
785                       </packing>
786                     </child>
787                     <child>
788                       <object class="GtkLabel" id="a2d8">
789                         <property name="visible">True</property>
790                         <property name="can_focus">False</property>
791                         <property name="xalign">0</property>
792                         <property name="label" translatable="yes">Z: 0.0</property>
793                       </object>
794                       <packing>
795                         <property name="expand">True</property>
796                         <property name="fill">True</property>
797                         <property name="position">2</property>
798                       </packing>
799                     </child>
800                   </object>
801                   <packing>
802                     <property name="left_attach">1</property>
803                     <property name="right_attach">2</property>
804                     <property name="top_attach">1</property>
805                     <property name="bottom_attach">2</property>
806                     <property name="y_options">GTK_FILL</property>
807                   </packing>
808                 </child>
809                 <child>
810                   <object class="GtkHBox" id="mag_val">
811                     <property name="visible">True</property>
812                     <property name="can_focus">False</property>
813                     <child>
814                       <object class="GtkLabel" id="a2d9">
815                         <property name="visible">True</property>
816                         <property name="can_focus">False</property>
817                         <property name="xalign">0</property>
818                         <property name="label" translatable="yes">X: 0.0</property>
819                       </object>
820                       <packing>
821                         <property name="expand">True</property>
822                         <property name="fill">True</property>
823                         <property name="position">0</property>
824                       </packing>
825                     </child>
826                     <child>
827                       <object class="GtkLabel" id="a2d10">
828                         <property name="visible">True</property>
829                         <property name="can_focus">False</property>
830                         <property name="xalign">0</property>
831                         <property name="label" translatable="yes">Y: 0.0</property>
832                       </object>
833                       <packing>
834                         <property name="expand">True</property>
835                         <property name="fill">True</property>
836                         <property name="position">1</property>
837                       </packing>
838                     </child>
839                     <child>
840                       <object class="GtkLabel" id="a2d11">
841                         <property name="visible">True</property>
842                         <property name="can_focus">False</property>
843                         <property name="xalign">0</property>
844                         <property name="label" translatable="yes">Z: 0.0</property>
845                       </object>
846                       <packing>
847                         <property name="expand">True</property>
848                         <property name="fill">True</property>
849                         <property name="position">2</property>
850                       </packing>
851                     </child>
852                   </object>
853                   <packing>
854                     <property name="left_attach">1</property>
855                     <property name="right_attach">2</property>
856                     <property name="top_attach">2</property>
857                     <property name="bottom_attach">3</property>
858                     <property name="y_options">GTK_FILL</property>
859                   </packing>
860                 </child>
861                 <child>
862                   <object class="GtkHBox" id="a2d_val">
863                     <property name="visible">True</property>
864                     <property name="can_focus">False</property>
865                     <property name="homogeneous">True</property>
866                     <child>
867                       <object class="GtkLabel" id="a2d0">
868                         <property name="visible">True</property>
869                         <property name="can_focus">False</property>
870                         <property name="xalign">0</property>
871                         <property name="label" translatable="yes">0.0</property>
872                       </object>
873                       <packing>
874                         <property name="expand">True</property>
875                         <property name="fill">True</property>
876                         <property name="position">0</property>
877                       </packing>
878                     </child>
879                     <child>
880                       <object class="GtkLabel" id="a2d1">
881                         <property name="visible">True</property>
882                         <property name="can_focus">False</property>
883                         <property name="xalign">0</property>
884                         <property name="label" translatable="yes">0.0</property>
885                       </object>
886                       <packing>
887                         <property name="expand">True</property>
888                         <property name="fill">True</property>
889                         <property name="position">1</property>
890                       </packing>
891                     </child>
892                     <child>
893                       <object class="GtkLabel" id="a2d2">
894                         <property name="visible">True</property>
895                         <property name="can_focus">False</property>
896                         <property name="xalign">0</property>
897                         <property name="label" translatable="yes">0.0</property>
898                       </object>
899                       <packing>
900                         <property name="expand">True</property>
901                         <property name="fill">True</property>
902                         <property name="position">2</property>
903                       </packing>
904                     </child>
905                     <child>
906                       <object class="GtkLabel" id="a2d3">
907                         <property name="visible">True</property>
908                         <property name="can_focus">False</property>
909                         <property name="xalign">0</property>
910                         <property name="label" translatable="yes">0.0</property>
911                       </object>
912                       <packing>
913                         <property name="expand">True</property>
914                         <property name="fill">True</property>
915                         <property name="position">3</property>
916                       </packing>
917                     </child>
918                     <child>
919                       <object class="GtkLabel" id="a2d4">
920                         <property name="visible">True</property>
921                         <property name="can_focus">False</property>
922                         <property name="xalign">0</property>
923                         <property name="label" translatable="yes">0.0</property>
924                       </object>
925                       <packing>
926                         <property name="expand">True</property>
927                         <property name="fill">True</property>
928                         <property name="position">4</property>
929                       </packing>
930                     </child>
931                     <child>
932                       <object class="GtkLabel" id="a2d5">
933                         <property name="visible">True</property>
934                         <property name="can_focus">False</property>
935                         <property name="xalign">0</property>
936                         <property name="label" translatable="yes">0.0</property>
937                       </object>
938                       <packing>
939                         <property name="expand">True</property>
940                         <property name="fill">True</property>
941                         <property name="position">5</property>
942                       </packing>
943                     </child>
944                   </object>
945                   <packing>
946                     <property name="left_attach">1</property>
947                     <property name="right_attach">2</property>
948                     <property name="top_attach">5</property>
949                     <property name="bottom_attach">6</property>
950                     <property name="y_options">GTK_FILL</property>
951                   </packing>
952                 </child>
953                 <child>
954                   <object class="GtkLabel" id="touch_val">
955                     <property name="visible">True</property>
956                     <property name="can_focus">False</property>
957                     <property name="xalign">0</property>
958                     <property name="label" translatable="yes">0.0</property>
959                   </object>
960                   <packing>
961                     <property name="left_attach">1</property>
962                     <property name="right_attach">2</property>
963                     <property name="top_attach">3</property>
964                     <property name="bottom_attach">4</property>
965                     <property name="y_options">GTK_FILL</property>
966                   </packing>
967                 </child>
968                 <child>
969                   <object class="GtkLabel" id="light_val">
970                     <property name="visible">True</property>
971                     <property name="can_focus">False</property>
972                     <property name="xalign">0</property>
973                     <property name="label" translatable="yes">0.0</property>
974                   </object>
975                   <packing>
976                     <property name="left_attach">1</property>
977                     <property name="right_attach">2</property>
978                     <property name="top_attach">4</property>
979                     <property name="bottom_attach">5</property>
980                     <property name="y_options">GTK_FILL</property>
981                   </packing>
982                 </child>
983                 <child>
984                   <object class="GtkLabel" id="accel_lbl">
985                     <property name="visible">True</property>
986                     <property name="can_focus">False</property>
987                     <property name="xalign">0</property>
988                     <property name="label" translatable="yes">Accelerometer</property>
989                   </object>
990                   <packing>
991                     <property name="top_attach">1</property>
992                     <property name="bottom_attach">2</property>
993                     <property name="x_options">GTK_FILL</property>
994                     <property name="y_options">GTK_FILL</property>
995                   </packing>
996                 </child>
997                 <child>
998                   <object class="GtkLabel" id="mag_lbl">
999                     <property name="visible">True</property>
1000                     <property name="can_focus">False</property>
1001                     <property name="xalign">0</property>
1002                     <property name="label" translatable="yes">Magnometer</property>
1003                   </object>
1004                   <packing>
1005                     <property name="top_attach">2</property>
1006                     <property name="bottom_attach">3</property>
1007                     <property name="x_options">GTK_FILL</property>
1008                     <property name="y_options">GTK_FILL</property>
1009                   </packing>
1010                 </child>
1011                 <child>
1012                   <object class="GtkLabel" id="touch_lbl">
1013                     <property name="visible">True</property>
1014                     <property name="can_focus">False</property>
1015                     <property name="xalign">0</property>
1016                     <property name="label" translatable="yes">Touch Sensor</property>
1017                   </object>
1018                   <packing>
1019                     <property name="top_attach">3</property>
1020                     <property name="bottom_attach">4</property>
1021                     <property name="x_options">GTK_FILL</property>
1022                     <property name="y_options">GTK_FILL</property>
1023                   </packing>
1024                 </child>
1025                 <child>
1026                   <object class="GtkLabel" id="light_lbl">
1027                     <property name="visible">True</property>
1028                     <property name="can_focus">False</property>
1029                     <property name="xalign">0</property>
1030                     <property name="label" translatable="yes">Light Sensor</property>
1031                   </object>
1032                   <packing>
1033                     <property name="top_attach">4</property>
1034                     <property name="bottom_attach">5</property>
1035                     <property name="x_options">GTK_FILL</property>
1036                     <property name="y_options">GTK_FILL</property>
1037                   </packing>
1038                 </child>
1039                 <child>
1040                   <object class="GtkLabel" id="a2d_lbl">
1041                     <property name="visible">True</property>
1042                     <property name="can_focus">False</property>
1043                     <property name="xalign">0</property>
1044                     <property name="label" translatable="yes">Analog to Digital</property>
1045                   </object>
1046                   <packing>
1047                     <property name="top_attach">5</property>
1048                     <property name="bottom_attach">6</property>
1049                     <property name="x_options">GTK_FILL</property>
1050                     <property name="y_options">GTK_FILL</property>
1051                   </packing>
1052                 </child>
1053               </object>
1054               <packing>
1055                 <property name="position">1</property>
1056               </packing>
1057             </child>
1058             <child type="tab">
1059               <object class="GtkLabel" id="data_tab">
1060                 <property name="visible">True</property>
1061                 <property name="can_focus">False</property>
1062                 <property name="label" translatable="yes">Data</property>
1063               </object>
1064               <packing>
1065                 <property name="position">1</property>
1066                 <property name="tab_fill">False</property>
1067               </packing>
1068             </child>
1069             <child>
1070               <object class="GtkLabel" id="plot">
1071                 <property name="visible">True</property>
1072                 <property name="can_focus">False</property>
1073                 <property name="label" translatable="yes">Plots</property>
1074               </object>
1075               <packing>
1076                 <property name="position">2</property>
1077               </packing>
1078             </child>
1079             <child type="tab">
1080               <object class="GtkLabel" id="plot_tab">
1081                 <property name="visible">True</property>
1082                 <property name="can_focus">False</property>
1083                 <property name="label" translatable="yes">Plots</property>
1084               </object>
1085               <packing>
1086                 <property name="position">2</property>
1087                 <property name="tab_fill">False</property>
1088               </packing>
1089             </child>
1090             <child>
1091               <object class="GtkScrolledWindow" id="serial_scroll">
1092                 <property name="visible">True</property>
1093                 <property name="can_focus">True</property>
1094                 <property name="hscrollbar_policy">automatic</property>
1095                 <property name="vscrollbar_policy">automatic</property>
1096                 <child>
1097                   <object class="GtkTextView" id="serial_view">
1098                     <property name="visible">True</property>
1099                     <property name="can_focus">True</property>
1100                   </object>
1101                 </child>
1102               </object>
1103               <packing>
1104                 <property name="position">3</property>
1105               </packing>
1106             </child>
1107             <child type="tab">
1108               <object class="GtkLabel" id="serial_tab">
1109                 <property name="visible">True</property>
1110                 <property name="can_focus">False</property>
1111                 <property name="label" translatable="yes">Serial</property>
1112               </object>
1113               <packing>
1114                 <property name="position">3</property>
1115                 <property name="tab_fill">False</property>
1116               </packing>
1117             </child>
1118           </object>
1119           <packing>
1120             <property name="expand">True</property>
1121             <property name="fill">True</property>
1122             <property name="position">1</property>
1123           </packing>
1124         </child>
1125         <child>
1126           <object class="GtkHBox" id="status_box">
1127             <property name="visible">True</property>
1128             <property name="can_focus">False</property>
1129             <child>
1130               <object class="GtkImage" id="conn">
1131                 <property name="visible">True</property>
1132                 <property name="can_focus">False</property>
1133                 <property name="stock">gtk-no</property>
1134               </object>
1135               <packing>
1136                 <property name="expand">False</property>
1137                 <property name="fill">True</property>
1138                 <property name="position">0</property>
1139               </packing>
1140             </child>
1141             <child>
1142               <object class="GtkStatusbar" id="status">
1143                 <property name="visible">True</property>
1144                 <property name="can_focus">False</property>
1145                 <property name="spacing">2</property>
1146               </object>
1147               <packing>
1148                 <property name="expand">True</property>
1149                 <property name="fill">True</property>
1150                 <property name="position">1</property>
1151               </packing>
1152             </child>
1153           </object>
1154           <packing>
1155             <property name="expand">False</property>
1156             <property name="fill">True</property>
1157             <property name="position">2</property>
1158           </packing>
1159         </child>
1160       </object>
1161     </child>
1162   </object>
1163 </interface>