File: switcher-row.ui

package info (click to toggle)
gnome-usage 48~rc-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,328 kB
  • sloc: sh: 33; xml: 27; makefile: 4
file content (37 lines) | stat: -rw-r--r-- 1,248 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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <template class="GtkListItem">
    <property name="child">
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">6</property>
        <child>
          <object class="GtkLabel">
            <attributes>
              <attribute name="weight" value="bold"/>
            </attributes>
            <binding name="label">
              <closure function="get_title_for_usage_view" type="gchararray">
                <lookup name="child" type="AdwViewStackPage">
                  <lookup name="item" type="GtkListItem"/>
                </lookup>
              </closure>
            </binding>
          </object>
        </child>
        <child>
          <object class="AdwBin">
            <binding name="child">
              <closure function="get_switcher_widget_for_usage_view" type="GtkWidget">
                <lookup name="child" type="AdwViewStackPage">
                  <lookup name="item" type="GtkListItem"/>
                </lookup>
              </closure>
            </binding>
          </object>
        </child>
      </object>
    </property>
  </template>
</interface>