]> Pileus Git - ~andy/csm213a-hw/blob - vis/visual.ui
Set fixed size labels
[~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="GtkAdjustment" id="a2d_adj">
6     <property name="upper">100</property>
7     <property name="value">1</property>
8     <property name="step_increment">1</property>
9     <property name="page_increment">10</property>
10   </object>
11   <object class="GtkAdjustment" id="accel_adj">
12     <property name="upper">100</property>
13     <property name="value">1</property>
14     <property name="step_increment">1</property>
15     <property name="page_increment">10</property>
16   </object>
17   <object class="GtkAdjustment" id="baud_adj">
18     <property name="upper">1.7976931348623157e+308</property>
19     <property name="step_increment">1</property>
20     <property name="page_increment">10</property>
21   </object>
22   <object class="GtkAdjustment" id="datab_adj">
23     <property name="lower">6</property>
24     <property name="upper">8</property>
25     <property name="step_increment">1</property>
26     <property name="page_increment">10</property>
27   </object>
28   <object class="GtkAdjustment" id="light_adj">
29     <property name="upper">100</property>
30     <property name="value">1</property>
31     <property name="step_increment">1</property>
32     <property name="page_increment">10</property>
33   </object>
34   <object class="GtkAdjustment" id="mag_adj">
35     <property name="upper">100</property>
36     <property name="value">1</property>
37     <property name="step_increment">1</property>
38     <property name="page_increment">10</property>
39   </object>
40   <object class="GtkTextBuffer" id="serial_buf"/>
41   <object class="GtkToggleAction" id="serial_con">
42     <property name="label" translatable="yes">Serial</property>
43     <property name="stock_id">gtk-connect</property>
44     <signal name="activate" handler="on_serial" swapped="no"/>
45   </object>
46   <object class="GtkAction" id="settings_act">
47     <property name="label" translatable="yes">Settings</property>
48     <property name="stock_id">gtk-preferences</property>
49     <signal name="activate" handler="on_show" swapped="no"/>
50   </object>
51   <object class="GtkToggleAction" id="xively_con">
52     <property name="label" translatable="yes">Xively</property>
53     <property name="stock_id">gtk-connect</property>
54     <signal name="activate" handler="on_xively" swapped="no"/>
55   </object>
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                     <property name="homogeneous">True</property>
794                     <child>
795                       <object class="GtkLabel" id="accx">
796                         <property name="visible">True</property>
797                         <property name="can_focus">False</property>
798                         <property name="xalign">0</property>
799                         <property name="label" translatable="yes">X: 0.0</property>
800                       </object>
801                       <packing>
802                         <property name="expand">True</property>
803                         <property name="fill">True</property>
804                         <property name="position">0</property>
805                       </packing>
806                     </child>
807                     <child>
808                       <object class="GtkLabel" id="accy">
809                         <property name="visible">True</property>
810                         <property name="can_focus">False</property>
811                         <property name="xalign">0</property>
812                         <property name="label" translatable="yes">Y: 0.0</property>
813                       </object>
814                       <packing>
815                         <property name="expand">True</property>
816                         <property name="fill">True</property>
817                         <property name="position">1</property>
818                       </packing>
819                     </child>
820                     <child>
821                       <object class="GtkLabel" id="accz">
822                         <property name="visible">True</property>
823                         <property name="can_focus">False</property>
824                         <property name="xalign">0</property>
825                         <property name="label" translatable="yes">Z: 0.0</property>
826                       </object>
827                       <packing>
828                         <property name="expand">True</property>
829                         <property name="fill">True</property>
830                         <property name="position">2</property>
831                       </packing>
832                     </child>
833                   </object>
834                   <packing>
835                     <property name="left_attach">1</property>
836                     <property name="right_attach">2</property>
837                     <property name="top_attach">1</property>
838                     <property name="bottom_attach">2</property>
839                     <property name="y_options">GTK_FILL</property>
840                   </packing>
841                 </child>
842                 <child>
843                   <object class="GtkHBox" id="mag_val">
844                     <property name="visible">True</property>
845                     <property name="can_focus">False</property>
846                     <property name="homogeneous">True</property>
847                     <child>
848                       <object class="GtkLabel" id="magx">
849                         <property name="visible">True</property>
850                         <property name="can_focus">False</property>
851                         <property name="xalign">0</property>
852                         <property name="label" translatable="yes">X: 0.0</property>
853                       </object>
854                       <packing>
855                         <property name="expand">True</property>
856                         <property name="fill">True</property>
857                         <property name="position">0</property>
858                       </packing>
859                     </child>
860                     <child>
861                       <object class="GtkLabel" id="magy">
862                         <property name="visible">True</property>
863                         <property name="can_focus">False</property>
864                         <property name="xalign">0</property>
865                         <property name="label" translatable="yes">Y: 0.0</property>
866                       </object>
867                       <packing>
868                         <property name="expand">True</property>
869                         <property name="fill">True</property>
870                         <property name="position">1</property>
871                       </packing>
872                     </child>
873                     <child>
874                       <object class="GtkLabel" id="magz">
875                         <property name="visible">True</property>
876                         <property name="can_focus">False</property>
877                         <property name="xalign">0</property>
878                         <property name="label" translatable="yes">Z: 0.0</property>
879                       </object>
880                       <packing>
881                         <property name="expand">True</property>
882                         <property name="fill">True</property>
883                         <property name="position">2</property>
884                       </packing>
885                     </child>
886                   </object>
887                   <packing>
888                     <property name="left_attach">1</property>
889                     <property name="right_attach">2</property>
890                     <property name="top_attach">2</property>
891                     <property name="bottom_attach">3</property>
892                     <property name="y_options">GTK_FILL</property>
893                   </packing>
894                 </child>
895                 <child>
896                   <object class="GtkHBox" id="a2d_val">
897                     <property name="visible">True</property>
898                     <property name="can_focus">False</property>
899                     <property name="homogeneous">True</property>
900                     <child>
901                       <object class="GtkLabel" id="a2d0">
902                         <property name="visible">True</property>
903                         <property name="can_focus">False</property>
904                         <property name="xalign">0</property>
905                         <property name="label" translatable="yes">0.0</property>
906                       </object>
907                       <packing>
908                         <property name="expand">True</property>
909                         <property name="fill">True</property>
910                         <property name="position">0</property>
911                       </packing>
912                     </child>
913                     <child>
914                       <object class="GtkLabel" id="a2d1">
915                         <property name="visible">True</property>
916                         <property name="can_focus">False</property>
917                         <property name="xalign">0</property>
918                         <property name="label" translatable="yes">0.0</property>
919                       </object>
920                       <packing>
921                         <property name="expand">True</property>
922                         <property name="fill">True</property>
923                         <property name="position">1</property>
924                       </packing>
925                     </child>
926                     <child>
927                       <object class="GtkLabel" id="a2d2">
928                         <property name="visible">True</property>
929                         <property name="can_focus">False</property>
930                         <property name="xalign">0</property>
931                         <property name="label" translatable="yes">0.0</property>
932                       </object>
933                       <packing>
934                         <property name="expand">True</property>
935                         <property name="fill">True</property>
936                         <property name="position">2</property>
937                       </packing>
938                     </child>
939                     <child>
940                       <object class="GtkLabel" id="a2d3">
941                         <property name="visible">True</property>
942                         <property name="can_focus">False</property>
943                         <property name="xalign">0</property>
944                         <property name="label" translatable="yes">0.0</property>
945                       </object>
946                       <packing>
947                         <property name="expand">True</property>
948                         <property name="fill">True</property>
949                         <property name="position">3</property>
950                       </packing>
951                     </child>
952                     <child>
953                       <object class="GtkLabel" id="a2d4">
954                         <property name="visible">True</property>
955                         <property name="can_focus">False</property>
956                         <property name="xalign">0</property>
957                         <property name="label" translatable="yes">0.0</property>
958                       </object>
959                       <packing>
960                         <property name="expand">True</property>
961                         <property name="fill">True</property>
962                         <property name="position">4</property>
963                       </packing>
964                     </child>
965                     <child>
966                       <object class="GtkLabel" id="a2d5">
967                         <property name="visible">True</property>
968                         <property name="can_focus">False</property>
969                         <property name="xalign">0</property>
970                         <property name="label" translatable="yes">0.0</property>
971                       </object>
972                       <packing>
973                         <property name="expand">True</property>
974                         <property name="fill">True</property>
975                         <property name="position">5</property>
976                       </packing>
977                     </child>
978                   </object>
979                   <packing>
980                     <property name="left_attach">1</property>
981                     <property name="right_attach">2</property>
982                     <property name="top_attach">5</property>
983                     <property name="bottom_attach">6</property>
984                     <property name="y_options">GTK_FILL</property>
985                   </packing>
986                 </child>
987                 <child>
988                   <object class="GtkLabel" id="touch">
989                     <property name="visible">True</property>
990                     <property name="can_focus">False</property>
991                     <property name="xalign">0</property>
992                     <property name="label" translatable="yes">0.0</property>
993                   </object>
994                   <packing>
995                     <property name="left_attach">1</property>
996                     <property name="right_attach">2</property>
997                     <property name="top_attach">3</property>
998                     <property name="bottom_attach">4</property>
999                     <property name="y_options">GTK_FILL</property>
1000                   </packing>
1001                 </child>
1002                 <child>
1003                   <object class="GtkLabel" id="light">
1004                     <property name="visible">True</property>
1005                     <property name="can_focus">False</property>
1006                     <property name="xalign">0</property>
1007                     <property name="label" translatable="yes">0.0</property>
1008                   </object>
1009                   <packing>
1010                     <property name="left_attach">1</property>
1011                     <property name="right_attach">2</property>
1012                     <property name="top_attach">4</property>
1013                     <property name="bottom_attach">5</property>
1014                     <property name="y_options">GTK_FILL</property>
1015                   </packing>
1016                 </child>
1017                 <child>
1018                   <object class="GtkLabel" id="accel_lbl">
1019                     <property name="visible">True</property>
1020                     <property name="can_focus">False</property>
1021                     <property name="xalign">0</property>
1022                     <property name="label" translatable="yes">Accelerometer</property>
1023                   </object>
1024                   <packing>
1025                     <property name="top_attach">1</property>
1026                     <property name="bottom_attach">2</property>
1027                     <property name="x_options">GTK_FILL</property>
1028                     <property name="y_options">GTK_FILL</property>
1029                   </packing>
1030                 </child>
1031                 <child>
1032                   <object class="GtkLabel" id="mag_lbl">
1033                     <property name="visible">True</property>
1034                     <property name="can_focus">False</property>
1035                     <property name="xalign">0</property>
1036                     <property name="label" translatable="yes">Magnometer</property>
1037                   </object>
1038                   <packing>
1039                     <property name="top_attach">2</property>
1040                     <property name="bottom_attach">3</property>
1041                     <property name="x_options">GTK_FILL</property>
1042                     <property name="y_options">GTK_FILL</property>
1043                   </packing>
1044                 </child>
1045                 <child>
1046                   <object class="GtkLabel" id="touch_lbl">
1047                     <property name="visible">True</property>
1048                     <property name="can_focus">False</property>
1049                     <property name="xalign">0</property>
1050                     <property name="label" translatable="yes">Touch Sensor</property>
1051                   </object>
1052                   <packing>
1053                     <property name="top_attach">3</property>
1054                     <property name="bottom_attach">4</property>
1055                     <property name="x_options">GTK_FILL</property>
1056                     <property name="y_options">GTK_FILL</property>
1057                   </packing>
1058                 </child>
1059                 <child>
1060                   <object class="GtkLabel" id="light_lbl">
1061                     <property name="visible">True</property>
1062                     <property name="can_focus">False</property>
1063                     <property name="xalign">0</property>
1064                     <property name="label" translatable="yes">Light Sensor</property>
1065                   </object>
1066                   <packing>
1067                     <property name="top_attach">4</property>
1068                     <property name="bottom_attach">5</property>
1069                     <property name="x_options">GTK_FILL</property>
1070                     <property name="y_options">GTK_FILL</property>
1071                   </packing>
1072                 </child>
1073                 <child>
1074                   <object class="GtkLabel" id="a2d_lbl">
1075                     <property name="visible">True</property>
1076                     <property name="can_focus">False</property>
1077                     <property name="xalign">0</property>
1078                     <property name="label" translatable="yes">Analog to Digital</property>
1079                   </object>
1080                   <packing>
1081                     <property name="top_attach">5</property>
1082                     <property name="bottom_attach">6</property>
1083                     <property name="x_options">GTK_FILL</property>
1084                     <property name="y_options">GTK_FILL</property>
1085                   </packing>
1086                 </child>
1087               </object>
1088               <packing>
1089                 <property name="position">1</property>
1090               </packing>
1091             </child>
1092             <child type="tab">
1093               <object class="GtkLabel" id="data_tab">
1094                 <property name="visible">True</property>
1095                 <property name="can_focus">False</property>
1096                 <property name="label" translatable="yes">Data</property>
1097               </object>
1098               <packing>
1099                 <property name="position">1</property>
1100                 <property name="tab_fill">False</property>
1101               </packing>
1102             </child>
1103             <child>
1104               <object class="GtkLabel" id="plot">
1105                 <property name="visible">True</property>
1106                 <property name="can_focus">False</property>
1107                 <property name="label" translatable="yes">Plots</property>
1108               </object>
1109               <packing>
1110                 <property name="position">2</property>
1111               </packing>
1112             </child>
1113             <child type="tab">
1114               <object class="GtkLabel" id="plot_tab">
1115                 <property name="visible">True</property>
1116                 <property name="can_focus">False</property>
1117                 <property name="label" translatable="yes">Plots</property>
1118               </object>
1119               <packing>
1120                 <property name="position">2</property>
1121                 <property name="tab_fill">False</property>
1122               </packing>
1123             </child>
1124             <child>
1125               <object class="GtkScrolledWindow" id="serial_scroll">
1126                 <property name="visible">True</property>
1127                 <property name="can_focus">True</property>
1128                 <property name="hscrollbar_policy">automatic</property>
1129                 <property name="vscrollbar_policy">automatic</property>
1130                 <child>
1131                   <object class="GtkTextView" id="serial_view">
1132                     <property name="visible">True</property>
1133                     <property name="can_focus">True</property>
1134                   </object>
1135                 </child>
1136               </object>
1137               <packing>
1138                 <property name="position">3</property>
1139               </packing>
1140             </child>
1141             <child type="tab">
1142               <object class="GtkLabel" id="serial_tab">
1143                 <property name="visible">True</property>
1144                 <property name="can_focus">False</property>
1145                 <property name="label" translatable="yes">Serial</property>
1146               </object>
1147               <packing>
1148                 <property name="position">3</property>
1149                 <property name="tab_fill">False</property>
1150               </packing>
1151             </child>
1152           </object>
1153           <packing>
1154             <property name="expand">True</property>
1155             <property name="fill">True</property>
1156             <property name="position">1</property>
1157           </packing>
1158         </child>
1159         <child>
1160           <object class="GtkHBox" id="status_box">
1161             <property name="visible">True</property>
1162             <property name="can_focus">False</property>
1163             <child>
1164               <object class="GtkImage" id="conn">
1165                 <property name="visible">True</property>
1166                 <property name="can_focus">False</property>
1167                 <property name="stock">gtk-no</property>
1168               </object>
1169               <packing>
1170                 <property name="expand">False</property>
1171                 <property name="fill">True</property>
1172                 <property name="position">0</property>
1173               </packing>
1174             </child>
1175             <child>
1176               <object class="GtkStatusbar" id="status">
1177                 <property name="visible">True</property>
1178                 <property name="can_focus">False</property>
1179                 <property name="spacing">10</property>
1180               </object>
1181               <packing>
1182                 <property name="expand">True</property>
1183                 <property name="fill">True</property>
1184                 <property name="position">1</property>
1185               </packing>
1186             </child>
1187           </object>
1188           <packing>
1189             <property name="expand">False</property>
1190             <property name="fill">True</property>
1191             <property name="position">2</property>
1192           </packing>
1193         </child>
1194       </object>
1195     </child>
1196   </object>
1197 </interface>