mirror of
https://gitlab.freedesktop.org/pipewire/helvum.git
synced 2026-05-27 21:08:14 +02:00
55 lines
991 B
Text
55 lines
991 B
Text
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
menu primary_menu {
|
|
section {
|
|
item {
|
|
label: "_About Helvum";
|
|
action: "app.about";
|
|
}
|
|
}
|
|
}
|
|
|
|
template $HelvumWindow: Adw.ApplicationWindow {
|
|
default-width: 1280;
|
|
default-height: 720;
|
|
title: _("Helvum - Pipewire Patchbay");
|
|
|
|
Adw.ToolbarView {
|
|
[top]
|
|
Adw.HeaderBar header_bar {
|
|
[end]
|
|
MenuButton {
|
|
icon-name: "open-menu-symbolic";
|
|
menu-model: primary_menu;
|
|
}
|
|
}
|
|
|
|
content: Box {
|
|
orientation: vertical;
|
|
|
|
Adw.Banner connection_banner {
|
|
title: _("Disconnected");
|
|
revealed: false;
|
|
}
|
|
|
|
Overlay {
|
|
ScrolledWindow {
|
|
$HelvumGraphView graph {
|
|
hexpand: "true";
|
|
vexpand: "true";
|
|
}
|
|
}
|
|
|
|
[overlay]
|
|
$HelvumZoomEntry {
|
|
zoomed-widget: "graph";
|
|
halign: "end";
|
|
valign: "end";
|
|
margin-end: "24";
|
|
margin-bottom: "24";
|
|
}
|
|
}
|
|
};
|
|
}
|
|
}
|