gtkdialog.ui 1.7 KB
Newer Older
1 2 3 4
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
  <!-- interface-requires gtk+ 3.10 -->
  <template class="GtkDialog" parent="GtkWindow">
Matthias Clasen's avatar
Matthias Clasen committed
5 6
    <property name="window-position">center-on-parent</property>
    <property name="type-hint">dialog</property>
7
    <signal name="delete-event" handler="gtk_dialog_delete_event_handler" swapped="no"/>
8 9
    <child type="titlebar">
      <object class="GtkHeaderBar" id="headerbar">
10 11
        <property name="visible">1</property>
        <property name="show-close-button">1</property>
12 13
      </object>
    </child>
14 15
    <child>
      <object class="GtkBox" id="vbox">
16
        <property name="visible">1</property>
17
        <property name="orientation">vertical</property>
18
        <property name="border-width">0</property>
19 20 21
        <style>
          <class name="dialog-vbox"/>
        </style>
22
        <child>
23
          <object class="GtkBox" id="action_box">
24
            <property name="visible">1</property>
25
            <style>
26
              <class name="dialog-action-box"/>
27
            </style>
28 29
            <child>
              <object class="GtkButtonBox" id="action_area">
30
                <property name="visible">1</property>
Matthias Clasen's avatar
Matthias Clasen committed
31
                <property name="layout-style">end</property>
32
                <property name="hexpand">1</property>
33 34 35 36 37
                <style>
                  <class name="dialog-action-area"/>
                </style>
              </object>
              <packing>
Matthias Clasen's avatar
Matthias Clasen committed
38
                <property name="pack-type">end</property>
39 40 41
              </packing>
            </child>
          </object>
42
          <packing>
Matthias Clasen's avatar
Matthias Clasen committed
43
            <property name="pack-type">end</property>
44 45 46 47 48 49
          </packing>
        </child>
      </object>
    </child>
  </template>
</interface>