mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
36 lines
575 B
Text
36 lines
575 B
Text
|
|
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";
|
||
|
|
}
|
||
|
|
}
|