Merging upstream version 0.4.0.
[debian/lxappearance.git] / data / demo.ui
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                 <property name="item_width">100</property>
231                 <property name="spacing">8</property>
232               </object>
233             </child>
234           </object>
235         </child>
236         <child type="tab">
237           <object class="GtkLabel" id="label12">
238             <property name="visible">True</property>
239             <property name="label" translatable="yes">Tab1</property>
240           </object>
241           <packing>
242             <property name="tab_fill">False</property>
243           </packing>
244         </child>
245         <child>
246           <object class="GtkHBox" id="hbox2">
247             <property name="visible">True</property>
248             <child>
249               <object class="GtkFrame" id="frame2">
250                 <property name="visible">True</property>
251                 <property name="border_width">4</property>
252                 <property name="label_xalign">0</property>
253                 <child>
254                   <object class="GtkAlignment" id="alignment2">
255                     <property name="visible">True</property>
256                     <property name="bottom_padding">4</property>
257                     <property name="left_padding">4</property>
258                     <child>
259                       <object class="GtkVBox" id="vbox6">
260                         <property name="visible">True</property>
261                         <property name="orientation">vertical</property>
262                         <property name="spacing">4</property>
263                         <child>
264                           <object class="GtkRadioButton" id="radiobutton1">
265                             <property name="label" translatable="yes">Radio Button</property>
266                             <property name="visible">True</property>
267                             <property name="can_focus">True</property>
268                             <property name="receives_default">False</property>
269                             <property name="use_underline">True</property>
270                             <property name="active">True</property>
271                             <property name="draw_indicator">True</property>
272                           </object>
273                           <packing>
274                             <property name="expand">False</property>
275                             <property name="fill">False</property>
276                             <property name="position">0</property>
277                           </packing>
278                         </child>
279                         <child>
280                           <object class="GtkRadioButton" id="radiobutton2">
281                             <property name="label" translatable="yes">Radio Button</property>
282                             <property name="visible">True</property>
283                             <property name="can_focus">True</property>
284                             <property name="receives_default">False</property>
285                             <property name="use_underline">True</property>
286                             <property name="draw_indicator">True</property>
287                             <property name="group">radiobutton1</property>
288                           </object>
289                           <packing>
290                             <property name="expand">False</property>
291                             <property name="fill">False</property>
292                             <property name="position">1</property>
293                           </packing>
294                         </child>
295                         <child>
296                           <object class="GtkHSeparator" id="hseparator1">
297                             <property name="visible">True</property>
298                           </object>
299                           <packing>
300                             <property name="expand">False</property>
301                             <property name="position">2</property>
302                           </packing>
303                         </child>
304                         <child>
305                           <object class="GtkCheckButton" id="checkbutton1">
306                             <property name="label" translatable="yes">Check Button</property>
307                             <property name="visible">True</property>
308                             <property name="can_focus">True</property>
309                             <property name="receives_default">False</property>
310                             <property name="use_underline">True</property>
311                             <property name="draw_indicator">True</property>
312                           </object>
313                           <packing>
314                             <property name="expand">False</property>
315                             <property name="fill">False</property>
316                             <property name="position">3</property>
317                           </packing>
318                         </child>
319                         <child>
320                           <object class="GtkEntry" id="entry1">
321                             <property name="visible">True</property>
322                             <property name="can_focus">True</property>
323                             <property name="invisible_char">&#x25CF;</property>
324                           </object>
325                           <packing>
326                             <property name="expand">False</property>
327                             <property name="fill">False</property>
328                             <property name="position">4</property>
329                           </packing>
330                         </child>
331                       </object>
332                     </child>
333                   </object>
334                 </child>
335                 <child type="label">
336                   <object class="GtkLabel" id="label16">
337                     <property name="visible">True</property>
338                     <property name="label" translatable="yes">Demo</property>
339                     <property name="use_markup">True</property>
340                   </object>
341                 </child>
342               </object>
343               <packing>
344                 <property name="position">0</property>
345               </packing>
346             </child>
347             <child>
348               <object class="GtkVBox" id="vbox7">
349                 <property name="visible">True</property>
350                 <property name="border_width">4</property>
351                 <property name="orientation">vertical</property>
352                 <child>
353                   <object class="GtkProgressBar" id="progressbar1">
354                     <property name="visible">True</property>
355                     <property name="show_text">True</property>
356                     <property name="fraction">0.60000002384200002</property>
357                     <property name="pulse_step">0.10000000149</property>
358                     <property name="text">60 %</property>
359                   </object>
360                   <packing>
361                     <property name="expand">False</property>
362                     <property name="fill">False</property>
363                     <property name="position">0</property>
364                   </packing>
365                 </child>
366                 <child>
367                   <object class="GtkHScale" id="hscale1">
368                     <property name="visible">True</property>
369                     <property name="can_focus">True</property>
370                     <property name="adjustment">adjustment2</property>
371                   </object>
372                   <packing>
373                     <property name="expand">False</property>
374                     <property name="position">1</property>
375                   </packing>
376                 </child>
377                 <child>
378                   <object class="GtkHBox" id="hbox3">
379                     <property name="visible">True</property>
380                     <child>
381                       <object class="GtkSpinButton" id="spinbutton1">
382                         <property name="visible">True</property>
383                         <property name="can_focus">True</property>
384                         <property name="invisible_char">&#x25CF;</property>
385                         <property name="adjustment">adjustment1</property>
386                         <property name="climb_rate">1</property>
387                       </object>
388                       <packing>
389                         <property name="position">0</property>
390                       </packing>
391                     </child>
392                     <child>
393                       <object class="GtkButton" id="button1">
394                         <property name="visible">True</property>
395                         <property name="can_focus">True</property>
396                         <property name="receives_default">True</property>
397                         <child>
398                           <object class="GtkAlignment" id="alignment3">
399                             <property name="visible">True</property>
400                             <property name="xscale">0</property>
401                             <property name="yscale">0</property>
402                             <child>
403                               <object class="GtkHBox" id="hbox4">
404                                 <property name="visible">True</property>
405                                 <property name="spacing">2</property>
406                                 <child>
407                                   <object class="GtkImage" id="image1">
408                                     <property name="visible">True</property>
409                                     <property name="stock">gtk-find</property>
410                                   </object>
411                                   <packing>
412                                     <property name="expand">False</property>
413                                     <property name="fill">False</property>
414                                     <property name="position">0</property>
415                                   </packing>
416                                 </child>
417                                 <child>
418                                   <object class="GtkLabel" id="label18">
419                                     <property name="visible">True</property>
420                                     <property name="label" translatable="yes">button</property>
421                                     <property name="use_underline">True</property>
422                                   </object>
423                                   <packing>
424                                     <property name="expand">False</property>
425                                     <property name="fill">False</property>
426                                     <property name="position">1</property>
427                                   </packing>
428                                 </child>
429                               </object>
430                             </child>
431                           </object>
432                         </child>
433                       </object>
434                       <packing>
435                         <property name="expand">False</property>
436                         <property name="fill">False</property>
437                         <property name="position">1</property>
438                       </packing>
439                     </child>
440                   </object>
441                   <packing>
442                     <property name="expand">False</property>
443                     <property name="position">2</property>
444                   </packing>
445                 </child>
446                 <child>
447                   <object class="GtkComboBox" id="combobox2">
448                     <property name="visible">True</property>
449                     <property name="model">liststore1</property>
450                     <child>
451                       <object class="GtkCellRendererText" id="cellrenderertext1"/>
452                       <attributes>
453                         <attribute name="text">0</attribute>
454                       </attributes>
455                     </child>
456                   </object>
457                   <packing>
458                     <property name="expand">False</property>
459                     <property name="position">3</property>
460                   </packing>
461                 </child>
462               </object>
463               <packing>
464                 <property name="position">1</property>
465               </packing>
466             </child>
467           </object>
468           <packing>
469             <property name="position">1</property>
470           </packing>
471         </child>
472         <child type="tab">
473           <object class="GtkLabel" id="label13">
474             <property name="visible">True</property>
475             <property name="label" translatable="yes">Tab2</property>
476           </object>
477           <packing>
478             <property name="position">1</property>
479             <property name="tab_fill">False</property>
480           </packing>
481         </child>
482         <child>
483           <object class="GtkScrolledWindow" id="scrolledwindow5">
484             <property name="visible">True</property>
485             <property name="can_focus">True</property>
486             <property name="hscrollbar_policy">automatic</property>
487             <property name="vscrollbar_policy">automatic</property>
488             <property name="shadow_type">in</property>
489             <child>
490               <object class="GtkTextView" id="text_view">
491                 <property name="visible">True</property>
492                 <property name="can_focus">True</property>
493                 <property name="buffer">textbuffer1</property>
494               </object>
495             </child>
496           </object>
497           <packing>
498             <property name="position">2</property>
499           </packing>
500         </child>
501         <child type="tab">
502           <object class="GtkLabel" id="label14">
503             <property name="visible">True</property>
504             <property name="label" translatable="yes">Tab3</property>
505           </object>
506           <packing>
507             <property name="position">2</property>
508             <property name="tab_fill">False</property>
509           </packing>
510         </child>
511         <child>
512           <object class="GtkScrolledWindow" id="scrolledwindow6">
513             <property name="visible">True</property>
514             <property name="can_focus">True</property>
515             <property name="hscrollbar_policy">never</property>
516             <property name="shadow_type">in</property>
517             <child>
518               <object class="GtkTreeView" id="demo_treeview">
519                 <property name="visible">True</property>
520                 <property name="can_focus">True</property>
521                 <property name="rules_hint">True</property>
522               </object>
523             </child>
524           </object>
525           <packing>
526             <property name="position">3</property>
527           </packing>
528         </child>
529         <child type="tab">
530           <object class="GtkLabel" id="label17">
531             <property name="visible">True</property>
532             <property name="label" translatable="yes">Tab4</property>
533           </object>
534           <packing>
535             <property name="position">3</property>
536             <property name="tab_fill">False</property>
537           </packing>
538         </child>
539       </object>
540       <packing>
541         <property name="position">2</property>
542       </packing>
543     </child>
544     <child>
545       <object class="GtkStatusbar" id="statusbar1">
546         <property name="visible">True</property>
547         <property name="spacing">2</property>
548       </object>
549       <packing>
550         <property name="expand">False</property>
551         <property name="fill">False</property>
552         <property name="position">3</property>
553       </packing>
554     </child>
555   </object>
556 </interface>