|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /usr/share/doc/pygtk2-2.10.1/examples/glade/ |
Upload File : |
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "../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">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">_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="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" />
<child>
<widget class="GtkLabel" id="label4">
<property name="label" translatable="yes">_Cancel</property>
<property name="use_underline">yes</property>
<property name="visible">yes</property>
</widget>
</child>
</widget>
</child>
</widget>
</child>
</widget>
</child>
</widget>
</glade-interface>