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