File: sidebar.ui

package info (click to toggle)
iotas 0.12.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,484 kB
  • sloc: python: 14,674; xml: 725; javascript: 44; makefile: 2
file content (48 lines) | stat: -rw-r--r-- 1,824 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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <requires lib="adw" version="1.0"/>
  <template class="Sidebar" parent="AdwBin">
    <child>
      <object class="AdwToolbarView">
        <child type="top">
          <object class="AdwHeaderBar">
            <child type="start">
              <object class="GtkButton" id="_close_button">
                <!-- Translators: Button -->
                <property name="tooltip-text" translatable="yes">Close Categories</property>
                <property name="icon-name">go-previous-symbolic</property>
                <property name="action-name">index.toggle-sidebar</property>
              </object>
            </child>
            <property name="title-widget">
              <object class="AdwWindowTitle">
                <!-- Translators: Title -->
                <property name="title" translatable="yes">Categories</property>
              </object>
            </property>
            <child type="end">
              <object class="IndexMenuButton" id="_menu_button"/>
            </child>
          </object>
        </child>
        <property name="content">
          <object class="GtkScrolledWindow">
            <property name="can-focus">True</property>
            <property name="min-content-width">300</property>
            <property name="hscrollbar-policy">never</property>
            <property name="vexpand">True</property>
            <child>
              <object class="GtkListView" id="_listview">
                <property name="vexpand">True</property>
                <style>
                  <class name="navigation-sidebar"/>
                </style>
              </object>
            </child>
          </object>
        </property>
      </object>
    </child>
  </template>
</interface>