Imported Upstream version 0.50.2
[platform/upstream/intltool.git] / tests / cases / extract8.glade
1 <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
2 <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd" >
3
4 <glade-interface>
5   <menu id='app-menu'>
6     <section>
7       <item>
8         <attribute name="label" translatable="yes">_New Window</attribute>
9       </item>
10       <item>
11         <attribute name="label" translatable="yes">_New Tab</attribute>
12       </item>
13     </section>
14     <section>
15       <attribute name="label" translatable="yes">_Quit</attribute>
16     </section>
17   </menu>
18
19   <widget class="GtkWindow" id="window1">
20     <property name="title" translatable="yes">Testing</property>
21     <property name="border_width">10</property>
22     <property name="visible">yes</property>
23
24     <accessibility>
25       <atkproperty name="AtkObject::accessible-name">Test Frame</atkproperty>
26       <atkproperty name="AtkObject::accessible-description">
27           This is the first of two test windows.
28       </atkproperty>
29     </accessibility>
30
31     <child>
32       <widget class="GtkVBox" id="vbox1">
33         <property name="spacing">5</property>
34         <property name="visible">yes</property>
35
36         <child>
37           <widget class="GtkLabel" id="label1">
38             <property name="label" translatable="yes" comments="Comment on &lt;property&gt; tag">A label</property>
39             <property name="visible">yes</property>
40             <accessibility>
41               <atkproperty name="AtkObject::accessible-name">A label</atkproperty>
42               <atkrelation target="button1" type="label_for"/>
43             </accessibility> 
44           </widget>
45           <packing>
46             <property name="expand">no</property>
47           </packing>
48         </child>
49         <child>
50           <widget class="GtkButton" id="button1">
51             <property name="tooltip">I am a tooltip</property>
52             <property name="visible">yes</property>
53
54             <accessibility>
55               <atkproperty name="AtkObject::accessible-name">Push Me Button</atkproperty>
56               <atkproperty name="AtkObject::accessible-description">
57                 This button wants to be pushed.
58               </atkproperty>
59               <atkaction action_name="click" description="This button
60 dares you to invoke this action."/>
61               <atkaction action_name="press" description="This action
62 does nothing interesting."/>
63               <atkrelation target="label1" type="labelled_by"/>
64             </accessibility> 
65
66             <signal name="clicked" handler="gtk_main_quit" />
67
68             <child>
69               <widget class="GtkLabel" id="label2">
70                 <property name="label" translatable="yes" comments="Multiline comments
71 should be supported as well">_Push me</property>
72                 <property name="use_underline">yes</property>
73                 <property name="visible">yes</property>
74               </widget>
75             </child>
76           </widget>
77         </child>
78       </widget>
79     </child>
80   </widget>
81
82   <widget class="GtkDialog" id="dialog1">
83     <property name="title" translatable="yes">Testing2</property>
84     <property name="border_width">10</property>
85     <property name="visible">yes</property>
86
87     <accessibility>
88       <atkproperty name="AtkObject::accessible-name">Testing 2</atkproperty>
89       <atkproperty name="AtkObject::accessible-description">
90           This is the second of two test windows, a test dialog box.
91       </atkproperty>
92     </accessibility>
93
94     <child internal-child="vbox">
95       <widget class="GtkVBox" id="vbox2">
96         <child>
97           <widget class="GtkLabel" id="label3">
98             <property name="label" translatable="yes">Click the button below</property>
99             <property name="visible">yes</property>
100             <accessibility>
101               <atkrelation target="button2" type="label_for"/>
102             </accessibility>
103           </widget>
104           <packing>
105             <property name="expand">yes</property>
106           </packing>
107         </child>
108         <child internal-child="action_area">
109           <widget class="GtkHButtonBox" id="buttonbox1">
110             <child>
111               <widget class="GtkButton" id="button2">
112                 <property name="label">gtk-cancel</property>
113                 <property name="use_stock">yes</property>
114                 <property name="visible">yes</property>
115  
116                 <accessibility>
117                   <atkproperty name="AtkObject::accessible-name">Cancel</atkproperty>
118                   <atkproperty name="AtkObject::accessible-description">
119                     Another button that does the same as the first one...
120                   </atkproperty>
121                   <atkaction action_name="click" description="Cancel (and exit) the test."/>
122                   <atkaction action_name="press" description="This action
123 does nothing interesting."/>
124                   <atkrelation target="label3" type="labelled_by"/>
125                 </accessibility> 
126
127                 <signal name="clicked" handler="gtk_main_quit" />
128               </widget>
129             </child>
130           </widget>
131         </child>
132       </widget>
133     </child>
134   </widget>
135 </glade-interface>
136