summaryrefslogtreecommitdiff
path: root/gtk/inspector/classes-list.ui
blob: 05e08fa941ef40d967f7de5e32ccc54449935e99 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
  <object class="GtkListStore" id="model">
    <columns>
      <column type="gboolean"/>
      <column type="gchararray"/>
      <column type="PangoStyle"/>
    </columns>
  </object>
  <template class="GtkInspectorClassesList" parent="GtkBox">
    <property name="orientation">vertical</property>
    <child>
      <object class="GtkToolbar">
        <property name="visible">True</property>
        <property name="icon-size">small-toolbar</property>
        <child>
          <object class="GtkToolButton">
            <property name="visible">True</property>
            <property name="icon-name">list-add-symbolic</property>
            <property name="tooltip-text" translatable="yes">Add a class</property>
            <signal name="clicked" handler="add_clicked"/>
          </object>
        </child>
        <child>
          <object class="GtkToolButton">
            <property name="visible">True</property>
            <property name="icon-name">edit-undo-symbolic</property>
            <property name="tooltip-text" translatable="yes">Restore defaults for this widget</property>
            <signal name="clicked" handler="restore_defaults_clicked"/>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkScrolledWindow">
        <property name="visible">True</property>
        <property name="hscrollbar-policy">never</property>
        <property name="vscrollbar-policy">automatic</property>
        <property name="expand">True</property>
        <child>
          <object class="GtkTreeView">
            <property name="visible">True</property>
            <property name="model">model</property>
            <property name="enable-search">False</property>
            <child>
              <object class="GtkTreeViewColumn">
                <property name="title" translatable="yes">Name</property>
                <child>
                  <object class="GtkCellRendererToggle">
                    <property name="activatable">True</property>
                    <signal name="toggled" handler="enabled_toggled"/>
                  </object>
                  <attributes>
                    <attribute name="active">0</attribute>
                  </attributes>
                </child>
                <child>
                  <object class="GtkCellRendererText">
                    <property name="scale">0.8</property>
                  </object>
                  <attributes>
                    <attribute name="text">1</attribute>
                    <attribute name="style">2</attribute>
                  </attributes>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>