summaryrefslogtreecommitdiffstats
path: root/subprojects/libhandy/src/hdy-preferences-group.ui
blob: 60a5ae1c319ff1c621aa3e4c3a6403fb4308fa65 (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
53
54
55
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.0"/>
  <template class="HdyPreferencesGroup" parent="GtkBin">
    <child>
      <object class="GtkBox" id="box">
        <property name="visible">True</property>
        <property name="orientation">vertical</property>
        <property name="spacing">12</property>
        <child>
          <object class="GtkLabel" id="title">
            <property name="can_focus">False</property>
            <property name="ellipsize">end</property>
            <property name="halign">start</property>
            <property name="xalign">0</property>
            <style>
              <!-- Requires Adwaita from GTK 3.24.14. -->
              <class name="heading"/>
              <!-- Matching elementary class. -->
              <class name="h4"/>
            </style>
          </object>
        </child>
        <child>
          <object class="GtkLabel" id="description">
            <property name="can_focus">False</property>
            <property name="halign">start</property>
            <property name="wrap">True</property>
            <property name="xalign">0</property>
            <style>
              <class name="dim-label"/>
            </style>
          </object>
        </child>
        <child>
          <object class="GtkBox" id="listbox_box">
            <property name="orientation">vertical</property>
            <property name="visible">True</property>
            <child>
              <object class="GtkListBox" id="listbox">
                <property name="selection_mode">none</property>
                <property name="visible">True</property>
                <signal name="add" handler="update_listbox_visibility" after="yes" swapped="yes"/>
                <signal name="remove" handler="update_listbox_visibility" after="yes" swapped="yes"/>
                <style>
                  <class name="content"/>
                </style>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>