[go: up one dir, main page]

File: chapter_element.ui

package info (click to toggle)
cozy 1.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,140 kB
  • sloc: python: 8,014; xml: 392; makefile: 2
file content (72 lines) | stat: -rw-r--r-- 2,760 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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <template class="ChapterElement" parent="GtkBox">
    <property name="tooltip-text" translatable="true">Play this part</property>
    <child>
      <object class="GtkBox">
        <property name="margin-start">12</property>
        <property name="margin-end">12</property>
        <property name="margin-top">6</property>
        <property name="margin-bottom">6</property>
        <property name="spacing">5</property>
        <child>
          <object class="GtkStack" id="icon_stack">
            <child>
              <object class="GtkStackPage">
                <property name="name">number</property>
                <property name="child">
                  <object class="GtkLabel" id="number_label">
                    <property name="halign">start</property>
                    <property name="width-chars">3</property>
                    <property name="xalign">0</property>
                    <property name="yalign">0</property>
                    <style>
                      <class name="dim-label"/>
                    </style>
                  </object>
                </property>
              </object>
            </child>
            <child>
              <object class="GtkStackPage">
                <property name="name">play_icon</property>
                <property name="child">
                  <object class="GtkImage" id="play_icon">
                    <property name="halign">start</property>
                    <property name="valign">center</property>
                    <property name="icon-name">media-playback-start-symbolic</property>
                    <property name="pixel-size">12</property>
                  </object>
                </property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkLabel" id="title_label">
            <property name="hexpand">true</property>
            <property name="ellipsize">end</property>
            <property name="max-width-chars">50</property>
            <property name="xalign">0</property>
            <property name="yalign">0</property>
            <style>
              <class name="semi-bold"/>
            </style>
          </object>
        </child>
        <child>
          <object class="GtkLabel" id="duration_label">
            <property name="halign">end</property>
            <property name="justify">right</property>
            <property name="xalign">0</property>
            <property name="yalign">0</property>
          </object>
        </child>
      </object>
    </child>
    <style>
      <class name="chapter_element"/>
    </style>
  </template>
</interface>