summaryrefslogtreecommitdiffstats
path: root/src/gs-search-page.ui
blob: b1500307788a840971a100a90c9e39f6f333b8c0 (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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.10"/>
  <template class="GsSearchPage" parent="GsPage">
    <child internal-child="accessible">
      <object class="AtkObject" id="search-accessible">
        <property name="accessible-name" translatable="yes">Search page</property>
      </object>
    </child>
    <child>
      <object class="GtkStack" id="stack_search">
        <property name="visible">True</property>
        <child>
          <object class="GtkSpinner" id="spinner_search">
            <property name="visible">True</property>
            <property name="width_request">32</property>
            <property name="height_request">32</property>
            <property name="halign">center</property>
            <property name="valign">center</property>
          </object>
          <packing>
            <property name="name">spinner</property>
          </packing>
        </child>
        <child>
          <object class="GtkGrid" id="noresults_grid_search">
            <property name="visible">True</property>
            <property name="hexpand">True</property>
            <property name="vexpand">True</property>
            <property name="halign">center</property>
            <property name="valign">center</property>
            <property name="row-spacing">12</property>
            <property name="column-spacing">12</property>
            <style>
              <class name="dim-label"/>
            </style>
            <child>
              <object class="GtkImage" id="noresults_icon">
                <property name="visible">True</property>
                <property name="icon_name">org.gnome.Software-symbolic</property>
                <property name="pixel-size">64</property>
                <style>
                  <class name="dim-label"/>
                </style>
              </object>
              <packing>
                <property name="left-attach">0</property>
                <property name="top-attach">0</property>
              </packing>
            </child>
            <child>
              <object class="GtkLabel" id="noresults_label">
                <property name="visible">True</property>
                <property name="label" translatable="yes">No Application Found</property>
                <property name="halign">start</property>
                <property name="valign">center</property>
                <attributes>
                  <attribute name="scale" value="1.4"/>
                </attributes>
              </object>
              <packing>
                <property name="left-attach">1</property>
                <property name="top-attach">0</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="name">no-results</property>
          </packing>
        </child>
        <child>
          <object class="GtkScrolledWindow" id="scrolledwindow_search">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="hscrollbar_policy">never</property>
            <property name="vscrollbar_policy">automatic</property>
            <property name="shadow_type">none</property>
            <child>
              <object class="GsFixedSizeBin" id="gs_fixed_bin">
                <property name="visible">True</property>
                <property name="preferred-width">860</property>
                <property name="valign">start</property>
                <child>
                  <object class="GtkListBox" id="list_box_search">
                    <property name="visible">True</property>
                    <property name="can_focus">True</property>
                    <property name="selection_mode">none</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
          <packing>
            <property name="name">results</property>
          </packing>
        </child>
      </object>
    </child>
  </template>
</interface>