Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > 990acead62a7de528a3123eb93239584 > files > 101

pygtk2.0-demos-2.12.1-1mdv2008.1.x86_64.rpm

<?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>