gtk2/gtk/ui/gtkdialog.ui
Matthias Clasen c4513a6737 dialog: Stop using the ::delete-event signal
We can achieve the desired result with a class handler
and the ::hide-on-close property.
2018-01-16 14:14:09 -05:00

44 lines
1.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk40">
<!-- interface-requires gtk+ 3.10 -->
<template class="GtkDialog" parent="GtkWindow">
<property name="window-position">center-on-parent</property>
<property name="type-hint">dialog</property>
<child type="titlebar">
<object class="GtkHeaderBar" id="headerbar">
<property name="show-title-buttons">1</property>
</object>
</child>
<child>
<object class="GtkBox" id="vbox">
<property name="orientation">vertical</property>
<style>
<class name="dialog-vbox"/>
</style>
<child>
<object class="GtkBox" id="action_box">
<style>
<class name="dialog-action-box"/>
</style>
<child>
<object class="GtkButtonBox" id="action_area">
<property name="layout-style">end</property>
<property name="hexpand">1</property>
<style>
<class name="dialog-action-area"/>
</style>
</object>
<packing>
<property name="pack-type">end</property>
</packing>
</child>
</object>
<packing>
<property name="pack-type">end</property>
</packing>
</child>
</object>
</child>
</template>
</interface>