forked from AuroraMiddleware/gtk
c4513a6737
We can achieve the desired result with a class handler and the ::hide-on-close property.
44 lines
1.4 KiB
XML
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>
|