File: shumate-inspector-page.ui

package info (click to toggle)
libshumate 1.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 7,812 kB
  • sloc: ansic: 21,772; xml: 38; makefile: 18; javascript: 10
file content (121 lines) | stat: -rw-r--r-- 5,695 bytes parent folder | download | duplicates (3)
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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <template class="ShumateInspectorPage" parent="GtkBox">
    <child>
      <object class="GtkScrolledWindow">
        <property name="hexpand">true</property>
        <property name="vexpand">true</property>
        <child>
          <object class="GtkBox">
            <property name="orientation">1</property>
            <child>
              <object class="GtkListBox">
                <property name="margin-top">60</property>
                <property name="margin-bottom">60</property>
                <property name="margin-start">60</property>
                <property name="margin-end">60</property>
                <property name="selection-mode">0</property>
                <property name="halign">3</property>
                <style>
                  <class name="boxed-list"/>
                  <class name="rich-list"/>
                </style>
                <child>
                  <object class="GtkListBoxRow">
                    <child>
                      <object class="GtkBox">
                        <property name="orientation">0</property>
                        <property name="spacing">18</property>
                        <child>
                          <object class="GtkLabel">
                            <property name="label" translatable="true">Show Debug Overlay</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkSwitch">
                            <property name="halign">2</property>
                            <property name="hexpand">true</property>
                            <property name="valign">3</property>
                            <binding name="active">
                              <lookup name="show-debug-overlay" type="ShumateInspectorSettings">
                                <lookup name="settings" type="ShumateInspectorPage">
                                  <constant>ShumateInspectorPage</constant>
                                </lookup>
                              </lookup>
                            </binding>
                            <signal name="notify::active" handler="on_show_debug_overlay" swapped="True"/>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkListBoxRow">
                    <child>
                      <object class="GtkBox">
                        <property name="orientation">0</property>
                        <property name="spacing">18</property>
                        <child>
                          <object class="GtkLabel">
                            <property name="label" translatable="true">Show Tile Bounds</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkSwitch">
                            <property name="halign">2</property>
                            <property name="hexpand">true</property>
                            <property name="valign">3</property>
                            <binding name="active">
                              <lookup name="show-tile-bounds" type="ShumateInspectorSettings">
                                <lookup name="settings" type="ShumateInspectorPage">
                                  <constant>ShumateInspectorPage</constant>
                                </lookup>
                              </lookup>
                            </binding>
                            <signal name="notify::active" handler="on_show_tile_bounds" swapped="True"/>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkListBoxRow">
                    <child>
                      <object class="GtkBox">
                        <property name="orientation">0</property>
                        <property name="spacing">18</property>
                        <child>
                          <object class="GtkLabel">
                            <property name="label" translatable="true">Show Collision Boxes</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkSwitch">
                            <property name="halign">2</property>
                            <property name="hexpand">true</property>
                            <property name="valign">3</property>
                            <binding name="active">
                              <lookup name="show-collision-boxes" type="ShumateInspectorSettings">
                                <lookup name="settings" type="ShumateInspectorPage">
                                  <constant>ShumateInspectorPage</constant>
                                </lookup>
                              </lookup>
                            </binding>
                            <signal name="notify::active" handler="on_show_collision_boxes" swapped="True"/>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>