summaryrefslogtreecommitdiff
path: root/tests/cases/extract8.glade
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cases/extract8.glade')
-rw-r--r--tests/cases/extract8.glade122
1 files changed, 122 insertions, 0 deletions
diff --git a/tests/cases/extract8.glade b/tests/cases/extract8.glade
new file mode 100644
index 0000000..cf5188c
--- /dev/null
+++ b/tests/cases/extract8.glade
@@ -0,0 +1,122 @@
+<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
+<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd" >
+
+<glade-interface>
+ <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 &lt;property&gt; 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>
+