File: index_row.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 (83 lines) | stat: -rw-r--r-- 2,983 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <template class="IndexRow" parent="GtkBox">
    <property name="margin-start">15</property>
    <property name="margin-end">15</property>
    <property name="margin-top">15</property>
    <property name="margin-bottom">15</property>
    <child>
      <object class="GtkRevealer" id="_revealer">
        <property name="transition-type">slide-right</property>
        <child>
          <object class="GtkCheckButton" id="_selection_checkbox">
            <property name="valign">center</property>
            <property name="margin-end">18</property>
            <signal name="toggled" handler="_on_selection_checkbox_toggled"/>
            <style>
              <class name="selection-mode"/>
            </style>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkBox">
        <property name="spacing">6</property>
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkLabel" id="_title">
            <property name="xalign">0</property>
            <property name="ellipsize">end</property>
            <property name="single-line-mode">True</property>
            <property name="lines">1</property>
            <style>
              <class name="title"/>
            </style>
          </object>
        </child>
        <child>
          <object class="GtkBox">
            <property name="spacing">6</property>
            <property name="hexpand">True</property>
            <child>
              <object class="GtkLabel" id="_excerpt">
                <property name="hexpand">True</property>
                <property name="xalign">0</property>
                <property name="ellipsize">end</property>
                <property name="single-line-mode">True</property>
                <property name="lines">1</property>
                <style>
                  <class name="subtitle"/>
                </style>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="_category">
                <property name="halign">end</property>
                <property name="ellipsize">end</property>
                <property name="visible">False</property>
                <style>
                  <class name="index-category-pill"/>
                </style>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkGestureLongPress">
        <property name="touch-only">True</property>
        <property name="propagation-phase">capture</property>
        <signal name="pressed" handler="_on_longpress"/>
      </object>
    </child>
    <child>
      <object class="GtkGestureClick">
        <property name="button">3</property>
        <signal name="pressed" handler="_on_right_click"/>
      </object>
    </child>
  </template>
</interface>