File: network-view.ui

package info (click to toggle)
gnome-usage 48.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,340 kB
  • sloc: sh: 33; xml: 27; makefile: 4
file content (59 lines) | stat: -rw-r--r-- 2,538 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <template class="UsageNetworkView" parent="UsageView">
    <property name="child">
      <object class="GtkScrolledWindow" id="scrolled_window">
        <property name="hscrollbar-policy">never</property>
        <property name="vexpand">True</property>
        <child>
          <object class="AdwClamp">
            <property name="margin-start">12</property>
            <property name="margin-end">12</property>
            <property name="hexpand">True</property>
            <property name="child">
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <property name="spacing">30</property>
                <property name="margin-bottom">20</property>
                <property name="margin-top">18</property>
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <child>
                      <object class="GtkLabel">
                        <style>
                          <class name="title-2"/>
                        </style>
                        <property name="label" translatable="yes">Last 30 Days</property>
                        <property name="xalign">0</property>
                        <property name="hexpand">True</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkDropDown" id="interface_selector">
                        <property name="model" bind-source="interface_graphs" bind-property="pages" bind-flags="sync-create"/>
                        <property name="expression">
                          <lookup name="title" type="AdwViewStackPage"/>
                        </property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="AdwViewStack" id="interface_graphs">
                    <binding name="visible-child">
                      <lookup name="child" type="AdwViewStackPage">
                        <lookup name="selected-item">interface_selector</lookup>
                      </lookup>
                    </binding>
                  </object>
                </child>
              </object>
            </property>
          </object>
        </child>
      </object>
    </property>
  </template>
</interface>