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