musicus/data/ui/welcome_page.blp

41 lines
1.1 KiB
Text
Raw Normal View History

using Gtk 4.0;
using Adw 1;
template $MusicusWelcomePage : Adw.NavigationPage {
title: _("Welcome to Musicus");
2023-09-15 10:12:36 +02:00
tag: "welcome";
Adw.ToolbarView {
[top]
Adw.HeaderBar header_bar {
[end]
MenuButton {
icon-name: "open-menu-symbolic";
menu-model: primary_menu;
}
}
2025-01-16 12:53:12 +01:00
Adw.StatusPage status_page {
icon-name: "de.johrpan.Musicus";
title: _("Welcome to Musicus");
description: _("Get started by choosing where to store your music library. Is this your first time using Musicus? If so, create a new empty folder for your library. Musicus will use this location to manage your recordings. You can also select a folder that already contains a music library created by Musicus.");
2023-09-15 10:12:36 +02:00
child: Gtk.Button {
styles ["suggested-action", "pill"]
halign: center;
label: _("Choose library folder");
2023-09-15 10:12:36 +02:00
clicked => $choose_library_folder() swapped;
};
}
}
}
menu primary_menu {
item {
label: _("_Preferences");
2025-03-16 14:06:57 +01:00
action: "win.preferences";
}
item {
label: _("_About Musicus");
action: "app.about";
}
}