summaryrefslogtreecommitdiffstats
path: root/subprojects/libhandy/src/hdy-view-switcher-title.ui
blob: 1c706bc6bd8a9bc32b3d3cbf0cdbdf762e3ca194 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.0"/>
  <template class="HdyViewSwitcherTitle" parent="GtkBin">
    <child>
      <object class="HdySqueezer" id="squeezer">
        <property name="transition-type">crossfade</property>
        <property name="visible">True</property>
        <property name="no-show-all">True</property>
        <signal name="notify::visible-child" handler="notify_squeezer_visible_child_cb" swapped="yes"/>
        <child>
          <object class="HdyViewSwitcher" id="view_switcher">
            <property name="visible">True</property>
          </object>
        </child>
        <child>
          <object class="GtkBox" id="title_box">
            <property name="orientation">vertical</property>
            <property name="halign">center</property>
            <property name="valign">center</property>
            <property name="visible">True</property>
            <child>
              <object class="GtkLabel" id="title_label">
                <property name="ellipsize">end</property>
                <property name="halign">center</property>
                <property name="wrap">False</property>
                <property name="single-line-mode">True</property>
                <property name="visible">True</property>
                <property name="width-chars">5</property>
                <style>
                  <class name="title"/>
                </style>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="subtitle_label">
                <property name="ellipsize">end</property>
                <property name="halign">center</property>
                <property name="wrap">False</property>
                <property name="single-line-mode">True</property>
                <property name="visible">True</property>
                <style>
                  <class name="subtitle"/>
                </style>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>