File: FilesView.ui

package info (click to toggle)
metadata-cleaner 2.4.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,808 kB
  • sloc: python: 1,682; xml: 343; makefile: 3
file content (90 lines) | stat: -rw-r--r-- 3,231 bytes parent folder | download
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: 2020, 2021 Romain Vigier <contact AT romainvigier.fr>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<interface>
  <template class="FilesView" parent="GtkBox">
    <property name="orientation">vertical</property>
    <property name="width-request">340</property>
    <child>
      <object class="GtkScrolledWindow">
        <property name="vexpand">True</property>
        <property name="hscrollbar-policy">never</property>
        <child>
          <object class="GtkListView">
            <property name="model">
              <object class="GtkSingleSelection" id="_selection_model">
                <property name="autoselect">False</property>
                <property name="can-unselect">True</property>
                <property name="model" bind-source="FilesView" bind-property="file-store"/>
                <signal name="selection-changed" handler="_on_selection_changed"/>
              </object>
            </property>
            <property name="factory">
              <object class="GtkBuilderListItemFactory">
                <property name="bytes">
                  <![CDATA[
                    <interface>
                      <template class="GtkListItem">
                        <property name="child">
                          <object class="FileRow">
                            <binding name="file">
                              <lookup name="item">GtkListItem</lookup>
                            </binding>
                            <binding name="position">
                              <lookup name="position">GtkListItem</lookup>
                            </binding>
                          </object>
                        </property>
                      </template>
                    </interface>
                  ]]>
                </property>
              </object>
            </property>
            <style>
              <class name="files"/>
            </style>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkSeparator"/>
    </child>
    <child>
      <object class="GtkBox">
        <property name="spacing">24</property>
        <style>
          <class name="toolbar"/>
          <class name="details"/>
        </style>
        <child>
          <object class="AdwClamp">
            <property name="halign">start</property>
            <property name="child">
              <object class="StatusIndicator">
                <property name="file-store" bind-source="FilesView" bind-property="file-store"/>
                <property name="hexpand">True</property>
                <property name="margin-start">6</property>
              </object>
            </property>
          </object>
        </child>
        <child>
          <object class="GtkBox">
            <property name="orientation">horizontal</property>
            <property name="spacing">6</property>
            <child>
              <object class="SettingsButton"/>
            </child>
            <child>
              <object class="CleanMetadataButton"/>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>