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