aboutsummaryrefslogtreecommitdiff
path: root/src/erable-window.ui
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2023-08-07 13:40:50 -0400
committerAndrew Lee <alee14498@protonmail.com>2023-08-07 13:40:50 -0400
commitd5f1abb9c84ef7b8d479e2b453947373b24a7306 (patch)
tree5c8643196f34ff8dfa008adbcac007e4b602d405 /src/erable-window.ui
downloadErable-d5f1abb9c84ef7b8d479e2b453947373b24a7306.tar.gz
Erable-d5f1abb9c84ef7b8d479e2b453947373b24a7306.tar.bz2
Erable-d5f1abb9c84ef7b8d479e2b453947373b24a7306.zip
Initial commitHEADmaster
Diffstat (limited to 'src/erable-window.ui')
-rw-r--r--src/erable-window.ui111
1 files changed, 111 insertions, 0 deletions
diff --git a/src/erable-window.ui b/src/erable-window.ui
new file mode 100644
index 0000000..9f4000a
--- /dev/null
+++ b/src/erable-window.ui
@@ -0,0 +1,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>