gtk/tests/mydialog.ui
Matthias Clasen 92e21c3f1c Drop the can-default property
It was added at a time when default buttons
had a very large external border that would disrupt
aligment. Not a problem nowadays.
2019-04-28 23:28:39 +00:00

23 lines
792 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>
</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>