mydialog.ui 845 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
<interface>
  <template class="MyDialog" parent="GtkDialog">
    <child type="action">
      <object class="GtkButton" id="cancel_button">
        <property name="visible">True</property>
        <property name="label">_Abort</property>
        <property name="use_underline">True</property>
      </object>
    </child>
    <child type="action">
      <object class="GtkButton" id="go_button">
        <property name="visible">True</property>
        <property name="label">_Go</property>
        <property name="use_underline">True</property>
        <property name="can_default">True</property>
      </object>
    </child>
    <action-widgets>
      <action-widget response="cancel">cancel_button</action-widget>
      <action-widget response="apply" default="True">go_button</action-widget>
    </action-widgets>
  </template>
</interface>