summaryrefslogtreecommitdiff
path: root/gtk/inspector/object-tree.ui
blob: 07d85d276dbe4870c1d5afde4d557b0d4c751a32 (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk40">
  <object class="GtkTreeStore" id="model">
    <columns>
      <column type="gpointer"/>
      <column type="gchararray"/>
      <column type="gchararray"/>
      <column type="gchararray"/>
      <column type="gchararray"/>
      <column type="gboolean"/>
    </columns>
  </object>
  <template class="GtkInspectorObjectTree" parent="GtkBox">
    <property name="visible">True</property>
    <property name="orientation">vertical</property>
    <signal name="hierarchy-changed" handler="on_hierarchy_changed"/>
    <child>
      <object class="GtkSearchBar" id="search_bar">
        <property name="show-close-button">1</property>
        <child>
          <object class="GtkBox">
            <style>
              <class name="linked"/>
            </style>
            <child>
              <object class="GtkSearchEntry" id="search_entry">
                <property name="max-width-chars">40</property>
                <signal name="search-changed" handler="on_search_changed"/>
                <signal name="next-match" handler="next_match"/>
                <signal name="previous-match" handler="previous_match"/>
                <signal name="stop-search" handler="stop_search"/>
              </object>
            </child>
            <child>
              <object class="GtkButton">
                <property name="icon-name">go-down-symbolic</property>
                <signal name="clicked" handler="next_match"/>
              </object>
            </child>
            <child>
              <object class="GtkButton">
                <property name="icon-name">go-up-symbolic</property>
                <signal name="clicked" handler="previous_match"/>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkScrolledWindow">
        <property name="hscrollbar-policy">never</property>
        <property name="expand">1</property>
        <child>
          <object class="GtkTreeView" id="tree">
            <property name="model">model</property>
            <property name="enable-search">0</property>
            <property name="enable-grid-lines">vertical</property>
            <signal name="row-activated" handler="on_row_activated"/>
            <child internal-child="selection">
              <object class="GtkTreeSelection">
                <signal name="changed" handler="on_selection_changed"/>
              </object>
            </child>
            <child>
              <object class="GtkTreeViewColumn" id="object_column">
                <property name="title" translatable="yes">Object</property>
                <property name="resizable">1</property>
                <child>
                  <object class="GtkCellRendererText">
                    <property name="scale">0.8</property>
                  </object>
                  <attributes>
                    <attribute name="text">1</attribute>
                    <attribute name="sensitive">5</attribute>
                  </attributes>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkTreeViewColumn">
                <property name="title" translatable="yes">Name</property>
                <property name="resizable">1</property>
                <child>
                  <object class="GtkCellRendererText">
                    <property name="scale">0.8</property>
                  </object>
                  <attributes>
                    <attribute name="text">2</attribute>
                    <attribute name="sensitive">5</attribute>
                  </attributes>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkTreeViewColumn">
                <property name="title" translatable="yes">Label</property>
                <property name="resizable">1</property>
                <child>
                  <object class="GtkCellRendererText">
                    <property name="scale">0.8</property>
                    <property name="ellipsize">end</property>
                    <property name="max-width-chars">30</property>
                  </object>
                  <attributes>
                    <attribute name="text">3</attribute>
                    <attribute name="sensitive">5</attribute>
                  </attributes>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkTreeViewColumn">
                <property name="title" translatable="yes">Style Classes</property>
                <property name="resizable">1</property>
                <child>
                  <object class="GtkCellRendererText">
                    <property name="scale">0.8</property>
                  </object>
                  <attributes>
                    <attribute name="text">4</attribute>
                    <attribute name="sensitive">5</attribute>
                  </attributes>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>