mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-30 15:31:34 +00:00
516f1e1808
This makes the template test cases not crash. The templates also serve to test the new action widget support. https://bugzilla.gnome.org/show_bug.cgi?id=728846
24 lines
845 B
XML
24 lines
845 B
XML
<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>
|