blob: 9f4000a5830451ba8efaaea3b9aa4b4cba91a374 (
plain) (
blame)
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
101
102
103
104
105
106
107
108
109
110
111
|
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<requires lib="Adw" version="1.0"/>
<template class="ErableWindow" parent="AdwApplicationWindow">
<property name="default-width">600</property>
<property name="default-height">600</property>
<property name="title">Erable: Alpha Preview</property>
<style>
<class name="devel"/>
</style>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkHeaderBar" id="header_bar">
<child type="end">
<object class="GtkMenuButton">
<property name="icon-name">open-menu-symbolic</property>
<property name="menu-model">primary_menu</property>
</object>
</child>
</object>
</child>
<!-- Main -->
<child>
<object class="AdwStatusPage" id="home_page">
<property name="title">Welcome!</property>
<property name="description">Select music to begin</property>
<property name="vexpand">true</property>
<child>
<object class="AdwClamp">
<property name="maximum-size">230</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkButton" id="play_button">
<child>
<object class="AdwButtonContent">
<property name="label">Play</property>
<property name="halign">center</property>
</object>
</child>
<style>
<class name="pill"/>
<class name="suggested-action"/>
<class name="opaque"/>
</style>
</object>
</child>
<child>
<object class="GtkButton" id="browse_button">
<child>
<object class="AdwButtonContent">
<property name="label">Browse</property>
<property name="halign">center</property>
</object>
</child>
<style>
<class name="pill"/>
<class name="opaque"/>
</style>
</object>
</child>
<child>
<object class="GtkLabel" id="currently_playing">
<property name="label">Currently playing: Nothing</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
<menu id="primary_menu">
<section>
<item>
<attribute name="label" translatable="yes">_Preferences</attribute>
<attribute name="action">app.preferences</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
<attribute name="action">win.show-help-overlay</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_About Erable</attribute>
<attribute name="action">app.about</attribute>
</item>
</section>
</menu>
</interface>
|