90729f4fd10e6ae7e01365f879c9e08714f647e2
[lxde/lxappearance.git] / data / demo.glade
1 <?xml version="1.0"?>
2 <interface>
3   <requires lib="gtk+" version="2.16"/>
4   <!-- interface-naming-policy toplevel-contextual -->
5   <object class="GtkListStore" id="liststore1">
6     <columns>
7       <!-- column-name item -->
8       <column type="gchararray"/>
9     </columns>
10     <data>
11       <row>
12         <col id="0" translatable="yes">Test Item 1</col>
13       </row>
14       <row>
15         <col id="0" translatable="yes">Test Item 2</col>
16       </row>
17       <row>
18         <col id="0" translatable="yes">Test Item 3</col>
19       </row>
20     </data>
21   </object>
22   <object class="GtkAdjustment" id="adjustment1">
23     <property name="value">1</property>
24     <property name="upper">100</property>
25     <property name="step_increment">1</property>
26   </object>
27   <object class="GtkAdjustment" id="adjustment2">
28     <property name="upper">100</property>
29     <property name="step_increment">10</property>
30   </object>
31   <object class="GtkTextBuffer" id="textbuffer1">
32     <property name="text" translatable="yes">Type some characters here to test currently selected font.</property>
33   </object>
34   <object class="GtkVBox" id="demo">
35     <property name="visible">True</property>
36     <property name="orientation">vertical</property>
37     <signal name="destroy" handler="gtk_main_quit"/>
38     <child>
39       <object class="GtkMenuBar" id="menubar1">
40         <property name="visible">True</property>
41         <child>
42           <object class="GtkMenuItem" id="menuitem1">
43             <property name="visible">True</property>
44             <property name="label" translatable="yes">_File</property>
45             <property name="use_underline">True</property>
46             <child type="submenu">
47               <object class="GtkMenu" id="menuitem1_menu">
48                 <child>
49                   <object class="GtkImageMenuItem" id="new1">
50                     <property name="label">gtk-new</property>
51                     <property name="visible">True</property>
52                     <property name="use_underline">True</property>
53                     <property name="use_stock">True</property>
54                   </object>
55                 </child>
56                 <child>
57                   <object class="GtkImageMenuItem" id="open1">
58                     <property name="label">gtk-open</property>
59                     <property name="visible">True</property>
60                     <property name="use_underline">True</property>
61                     <property name="use_stock">True</property>
62                   </object>
63                 </child>
64                 <child>
65                   <object class="GtkImageMenuItem" id="save1">
66                     <property name="label">gtk-save</property>
67                     <property name="visible">True</property>
68                     <property name="use_underline">True</property>
69                     <property name="use_stock">True</property>
70                   </object>
71                 </child>
72                 <child>
73                   <object class="GtkImageMenuItem" id="save_as1">
74                     <property name="label">gtk-save-as</property>
75                     <property name="visible">True</property>
76                     <property name="use_underline">True</property>
77                     <property name="use_stock">True</property>
78                   </object>
79                 </child>
80                 <child>
81                   <object class="GtkSeparatorMenuItem" id="separatormenuitem1">
82                     <property name="visible">True</property>
83                   </object>
84                 </child>
85                 <child>
86                   <object class="GtkImageMenuItem" id="quit1">
87                     <property name="label">gtk-quit</property>
88                     <property name="visible">True</property>
89                     <property name="use_underline">True</property>
90                     <property name="use_stock">True</property>
91                   </object>
92                 </child>
93               </object>
94             </child>
95           </object>
96         </child>
97         <child>
98           <object class="GtkMenuItem" id="menuitem2">
99             <property name="visible">True</property>
100             <property name="label" translatable="yes">_Edit</property>
101             <property name="use_underline">True</property>
102             <child type="submenu">
103               <object class="GtkMenu" id="menuitem2_menu">
104                 <child>
105                   <object class="GtkImageMenuItem" id="cut1">
106                     <property name="label">gtk-cut</property>
107                     <property name="visible">True</property>
108                     <property name="use_underline">True</property>
109                     <property name="use_stock">True</property>
110                   </object>
111                 </child>
112                 <child>
113                   <object class="GtkImageMenuItem" id="copy1">
114                     <property name="label">gtk-copy</property>
115                     <property name="visible">True</property>
116                     <property name="use_underline">True</property>
117                     <property name="use_stock">True</property>
118                   </object>
119                 </child>
120                 <child>
121                   <object class="GtkImageMenuItem" id="paste1">
122                     <property name="label">gtk-paste</property>
123                     <property name="visible">True</property>
124                     <property name="use_underline">True</property>
125                     <property name="use_stock">True</property>
126                   </object>
127                 </child>
128                 <child>
129                   <object class="GtkImageMenuItem" id="delete1">
130                     <property name="label">gtk-delete</property>
131                     <property name="visible">True</property>
132                     <property name="use_underline">True</property>
133                     <property name="use_stock">True</property>
134                   </object>
135                 </child>
136               </object>
137             </child>
138           </object>
139         </child>
140         <child>
141           <object class="GtkMenuItem" id="menuitem4">
142             <property name="visible">True</property>
143             <property name="label" translatable="yes">_Help</property>
144             <property name="use_underline">True</property>
145             <child type="submenu">
146               <object class="GtkMenu" id="menuitem4_menu">
147                 <child>
148                   <object class="GtkImageMenuItem" id="about1">
149                     <property name="label">gtk-about</property>
150                     <property name="visible">True</property>
151                     <property name="use_underline">True</property>
152                     <property name="use_stock">True</property>
153                   </object>
154                 </child>
155               </object>
156             </child>
157           </object>
158         </child>
159       </object>
160       <packing>
161         <property name="expand">False</property>
162         <property name="fill">False</property>
163         <property name="position">0</property>
164       </packing>
165     </child>
166     <child>
167       <object class="GtkHandleBox" id="handlebox1">
168         <property name="visible">True</property>
169         <child>
170           <object class="GtkToolbar" id="toolbar">
171             <property name="visible">True</property>
172             <property name="toolbar_style">both</property>
173             <property name="show_arrow">False</property>
174             <child>
175               <object class="GtkToolButton" id="toolbutton1">
176                 <property name="visible">True</property>
177                 <property name="is_important">True</property>
178                 <property name="stock_id">gtk-go-back</property>
179               </object>
180               <packing>
181                 <property name="expand">False</property>
182                 <property name="homogeneous">True</property>
183               </packing>
184             </child>
185             <child>
186               <object class="GtkToolButton" id="toolbutton2">
187                 <property name="visible">True</property>
188                 <property name="stock_id">gtk-go-forward</property>
189               </object>
190               <packing>
191                 <property name="expand">False</property>
192                 <property name="homogeneous">True</property>
193               </packing>
194             </child>
195             <child>
196               <object class="GtkToolButton" id="toolbutton3">
197                 <property name="visible">True</property>
198                 <property name="is_important">True</property>
199                 <property name="stock_id">gtk-stop</property>
200               </object>
201               <packing>
202                 <property name="expand">False</property>
203                 <property name="homogeneous">True</property>
204               </packing>
205             </child>
206           </object>
207         </child>
208       </object>
209       <packing>
210         <property name="expand">False</property>
211         <property name="fill">False</property>
212         <property name="position">1</property>
213       </packing>
214     </child>
215     <child>
216       <object class="GtkNotebook" id="notebook2">
217         <property name="visible">True</property>
218         <property name="can_focus">True</property>
219         <child>
220           <object class="GtkScrolledWindow" id="scrolledwindow4">
221             <property name="visible">True</property>
222             <property name="can_focus">True</property>
223             <property name="hscrollbar_policy">automatic</property>
224             <property name="vscrollbar_policy">automatic</property>
225             <property name="shadow_type">in</property>
226             <child>
227               <object class="GtkIconView" id="icon_view">
228                 <property name="visible">True</property>
229                 <property name="can_focus">True</property>
230               </object>
231             </child>
232           </object>
233         </child>
234         <child type="tab">
235           <object class="GtkLabel" id="label12">
236             <property name="visible">True</property>
237             <property name="label" translatable="yes">Tab1</property>
238           </object>
239           <packing>
240             <property name="tab_fill">False</property>
241           </packing>
242         </child>
243         <child>
244           <object class="GtkHBox" id="hbox2">
245             <property name="visible">True</property>
246             <child>
247               <object class="GtkFrame" id="frame2">
248                 <property name="visible">True</property>
249                 <property name="border_width">4</property>
250                 <property name="label_xalign">0</property>
251                 <child>
252                   <object class="GtkAlignment" id="alignment2">
253                     <property name="visible">True</property>
254                     <property name="bottom_padding">4</property>
255                     <property name="left_padding">4</property>
256                     <child>
257                       <object class="GtkVBox" id="vbox6">
258                         <property name="visible">True</property>
259                         <property name="orientation">vertical</property>
260                         <property name="spacing">4</property>
261                         <child>
262                           <object class="GtkRadioButton" id="radiobutton1">
263                             <property name="label" translatable="yes">Radio Button</property>
264                             <property name="visible">True</property>
265                             <property name="can_focus">True</property>
266                             <property name="receives_default">False</property>
267                             <property name="use_underline">True</property>
268                             <property name="active">True</property>
269                             <property name="draw_indicator">True</property>
270                           </object>
271                           <packing>
272                             <property name="expand">False</property>
273                             <property name="fill">False</property>
274                             <property name="position">0</property>
275                           </packing>
276                         </child>
277                         <child>
278                           <object class="GtkRadioButton" id="radiobutton2">
279                             <property name="label" translatable="yes">Radio Button</property>
280                             <property name="visible">True</property>
281                             <property name="can_focus">True</property>
282                             <property name="receives_default">False</property>
283                             <property name="use_underline">True</property>
284                             <property name="draw_indicator">True</property>
285                             <property name="group">radiobutton1</property>
286                           </object>
287                           <packing>
288                             <property name="expand">False</property>
289                             <property name="fill">False</property>
290                             <property name="position">1</property>
291                           </packing>
292                         </child>
293                         <child>
294                           <object class="GtkHSeparator" id="hseparator1">
295                             <property name="visible">True</property>
296                           </object>
297                           <packing>
298                             <property name="expand">False</property>
299                             <property name="position">2</property>
300                           </packing>
301                         </child>
302                         <child>
303                           <object class="GtkCheckButton" id="checkbutton1">
304                             <property name="label" translatable="yes">Check Button</property>
305                             <property name="visible">True</property>
306                             <property name="can_focus">True</property>
307                             <property name="receives_default">False</property>
308                             <property name="use_underline">True</property>
309                             <property name="draw_indicator">True</property>
310                           </object>
311                           <packing>
312                             <property name="expand">False</property>
313                             <property name="fill">False</property>
314                             <property name="position">3</property>
315                           </packing>
316                         </child>
317                         <child>
318                           <object class="GtkEntry" id="entry1">
319                             <property name="visible">True</property>
320                             <property name="can_focus">True</property>
321                             <property name="invisible_char">&#x25CF;</property>
322                           </object>
323                           <packing>
324                             <property name="expand">False</property>
325                             <property name="fill">False</property>
326                             <property name="position">4</property>
327                           </packing>
328                         </child>
329                       </object>
330                     </child>
331                   </object>
332                 </child>
333                 <child type="label">
334                   <object class="GtkLabel" id="label16">
335                     <property name="visible">True</property>
336                     <property name="label" translatable="yes">Demo</property>
337                     <property name="use_markup">True</property>
338                   </object>
339                 </child>
340               </object>
341               <packing>
342                 <property name="position">0</property>
343               </packing>
344             </child>
345             <child>
346               <object class="GtkVBox" id="vbox7">
347                 <property name="visible">True</property>
348                 <property name="border_width">4</property>
349                 <property name="orientation">vertical</property>
350                 <child>
351                   <object class="GtkProgressBar" id="progressbar1">
352                     <property name="visible">True</property>
353                     <property name="show_text">True</property>
354                     <property name="fraction">0.60000002384200002</property>
355                     <property name="pulse_step">0.10000000149</property>
356                     <property name="text">60 %</property>
357                   </object>
358                   <packing>
359                     <property name="expand">False</property>
360                     <property name="fill">False</property>
361                     <property name="position">0</property>
362                   </packing>
363                 </child>
364                 <child>
365                   <object class="GtkHScale" id="hscale1">
366                     <property name="visible">True</property>
367                     <property name="can_focus">True</property>
368                     <property name="adjustment">adjustment2</property>
369                   </object>
370                   <packing>
371                     <property name="expand">False</property>
372                     <property name="position">1</property>
373                   </packing>
374                 </child>
375                 <child>
376                   <object class="GtkHBox" id="hbox3">
377                     <property name="visible">True</property>
378                     <child>
379                       <object class="GtkSpinButton" id="spinbutton1">
380                         <property name="visible">True</property>
381                         <property name="can_focus">True</property>
382                         <property name="invisible_char">&#x25CF;</property>
383                         <property name="adjustment">adjustment1</property>
384                         <property name="climb_rate">1</property>
385                       </object>
386                       <packing>
387                         <property name="position">0</property>
388                       </packing>
389                     </child>
390                     <child>
391                       <object class="GtkButton" id="button1">
392                         <property name="visible">True</property>
393                         <property name="can_focus">True</property>
394                         <property name="receives_default">True</property>
395                         <child>
396                           <object class="GtkAlignment" id="alignment3">
397                             <property name="visible">True</property>
398                             <property name="xscale">0</property>
399                             <property name="yscale">0</property>
400                             <child>
401                               <object class="GtkHBox" id="hbox4">
402                                 <property name="visible">True</property>
403                                 <property name="spacing">2</property>
404                                 <child>
405                                   <object class="GtkImage" id="image1">
406                                     <property name="visible">True</property>
407                                     <property name="stock">gtk-find</property>
408                                   </object>
409                                   <packing>
410                                     <property name="expand">False</property>
411                                     <property name="fill">False</property>
412                                     <property name="position">0</property>
413                                   </packing>
414                                 </child>
415                                 <child>
416                                   <object class="GtkLabel" id="label18">
417                                     <property name="visible">True</property>
418                                     <property name="label" translatable="yes">button</property>
419                                     <property name="use_underline">True</property>
420                                   </object>
421                                   <packing>
422                                     <property name="expand">False</property>
423                                     <property name="fill">False</property>
424                                     <property name="position">1</property>
425                                   </packing>
426                                 </child>
427                               </object>
428                             </child>
429                           </object>
430                         </child>
431                       </object>
432                       <packing>
433                         <property name="expand">False</property>
434                         <property name="fill">False</property>
435                         <property name="position">1</property>
436                       </packing>
437                     </child>
438                   </object>
439                   <packing>
440                     <property name="expand">False</property>
441                     <property name="position">2</property>
442                   </packing>
443                 </child>
444                 <child>
445                   <object class="GtkComboBox" id="combobox2">
446                     <property name="visible">True</property>
447                     <property name="model">liststore1</property>
448                     <child>
449                       <object class="GtkCellRendererText" id="cellrenderertext1"/>
450                       <attributes>
451                         <attribute name="text">0</attribute>
452                       </attributes>
453                     </child>
454                   </object>
455                   <packing>
456                     <property name="expand">False</property>
457                     <property name="position">3</property>
458                   </packing>
459                 </child>
460               </object>
461               <packing>
462                 <property name="position">1</property>
463               </packing>
464             </child>
465           </object>
466           <packing>
467             <property name="position">1</property>
468           </packing>
469         </child>
470         <child type="tab">
471           <object class="GtkLabel" id="label13">
472             <property name="visible">True</property>
473             <property name="label" translatable="yes">Tab2</property>
474           </object>
475           <packing>
476             <property name="position">1</property>
477             <property name="tab_fill">False</property>
478           </packing>
479         </child>
480         <child>
481           <object class="GtkScrolledWindow" id="scrolledwindow5">
482             <property name="visible">True</property>
483             <property name="can_focus">True</property>
484             <property name="hscrollbar_policy">automatic</property>
485             <property name="vscrollbar_policy">automatic</property>
486             <property name="shadow_type">in</property>
487             <child>
488               <object class="GtkTextView" id="text_view">
489                 <property name="visible">True</property>
490                 <property name="can_focus">True</property>
491                 <property name="buffer">textbuffer1</property>
492               </object>
493             </child>
494           </object>
495           <packing>
496             <property name="position">2</property>
497           </packing>
498         </child>
499         <child type="tab">
500           <object class="GtkLabel" id="label14">
501             <property name="visible">True</property>
502             <property name="label" translatable="yes">Tab3</property>
503           </object>
504           <packing>
505             <property name="position">2</property>
506             <property name="tab_fill">False</property>
507           </packing>
508         </child>
509         <child>
510           <object class="GtkScrolledWindow" id="scrolledwindow6">
511             <property name="visible">True</property>
512             <property name="can_focus">True</property>
513             <property name="hscrollbar_policy">never</property>
514             <property name="shadow_type">in</property>
515             <child>
516               <object class="GtkTreeView" id="demo_treeview">
517                 <property name="visible">True</property>
518                 <property name="can_focus">True</property>
519                 <property name="rules_hint">True</property>
520               </object>
521             </child>
522           </object>
523           <packing>
524             <property name="position">3</property>
525           </packing>
526         </child>
527         <child type="tab">
528           <object class="GtkLabel" id="label17">
529             <property name="visible">True</property>
530             <property name="label" translatable="yes">Tab4</property>
531           </object>
532           <packing>
533             <property name="position">3</property>
534             <property name="tab_fill">False</property>
535           </packing>
536         </child>
537       </object>
538       <packing>
539         <property name="position">2</property>
540       </packing>
541     </child>
542     <child>
543       <object class="GtkStatusbar" id="statusbar1">
544         <property name="visible">True</property>
545         <property name="spacing">2</property>
546       </object>
547       <packing>
548         <property name="expand">False</property>
549         <property name="fill">False</property>
550         <property name="position">3</property>
551       </packing>
552     </child>
553   </object>
554 </interface>