gtkinfobar.ui 2.19 KB
Newer Older
1 2 3 4 5
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
  <!-- interface-requires gtk+ 3.10 -->
  <template class="GtkInfoBar" parent="GtkBox">
    <child>
6
      <object class="GtkRevealer" id="revealer">
7
        <property name="visible">1</property>
8
        <property name="reveal-child">1</property>
9
        <child>
10
          <object class="GtkBox" id="content">
11
            <property name="visible">1</property>
12 13
            <child>
              <object class="GtkBox" id="content_area">
14
                <property name="visible">1</property>
Matthias Clasen's avatar
Matthias Clasen committed
15
                <property name="border-width">8</property>
16
                <property name="spacing">16</property>
17
                <property name="hexpand">1</property>
18 19
              </object>
              <packing>
20
                <property name="expand">1</property>
21 22 23 24
              </packing>
            </child>
            <child>
              <object class="GtkButtonBox" id="action_area">
25
                <property name="visible">1</property>
Matthias Clasen's avatar
Matthias Clasen committed
26
                <property name="border-width">6</property>
27
                <property name="spacing">6</property>
Matthias Clasen's avatar
Matthias Clasen committed
28
                <property name="layout-style">end</property>
29 30 31 32 33 34 35
              </object>
              <packing>
                <property name="position">1</property>
              </packing>
            </child>
            <child>
              <object class="GtkButton" id="close_button">
Matthias Clasen's avatar
Matthias Clasen committed
36 37
                <property name="can-focus">1</property>
                <property name="border-width">6</property>
38
                <property name="relief">none</property>
39
                <property name="valign">center</property>
40
                <style>
41
                  <class name="close"/>
42 43 44
                </style>
                <child>
                  <object class="GtkImage" id="close_image">
45
                    <property name="visible">1</property>
Matthias Clasen's avatar
Matthias Clasen committed
46
                    <property name="icon-name">window-close-symbolic</property>
47 48 49 50 51 52 53
                  </object>
                </child>
              </object>
              <packing>
                <property name="position">2</property>
              </packing>
            </child>
54 55 56 57
          </object>
        </child>
      </object>
    </child>
58 59
  </template>
</interface>