Move resources to data

This commit is contained in:
Elias Projahn 2023-07-06 18:29:33 +02:00
parent 25eb7591f8
commit 3f1a9a5756
5 changed files with 19 additions and 17 deletions

36
data/res/window.blp Normal file
View file

@ -0,0 +1,36 @@
using Gtk 4.0;
using Adw 1;
template $MusicusWindow : Adw.ApplicationWindow {
default-width: 600;
default-height: 300;
Box {
orientation: vertical;
HeaderBar header_bar {
[end]
MenuButton {
icon-name: "open-menu-symbolic";
menu-model: primary_menu;
}
}
Label label {
label: _("Hello, World!");
vexpand: true;
styles ["title-1"]
}
}
}
menu primary_menu {
item {
label: _("_Preferences");
action: "app.preferences";
}
item {
label: _("_About Musicus");
action: "app.about";
}
}