45 lines
1.0 KiB
Plaintext
45 lines
1.0 KiB
Plaintext
|
using Gtk 4.0;
|
||
|
using Adw 1;
|
||
|
|
||
|
Adw.ApplicationWindow window {
|
||
|
default-width: 900;
|
||
|
default-height: 500;
|
||
|
|
||
|
content: Gtk.Box {
|
||
|
orientation: vertical;
|
||
|
|
||
|
Adw.HeaderBar{
|
||
|
title-widget: Adw.WindowTitle {
|
||
|
title: "Sieverman";
|
||
|
};
|
||
|
|
||
|
Gtk.Button { label: "Neu";}
|
||
|
}
|
||
|
Gtk.Box {
|
||
|
orientation: horizontal;
|
||
|
|
||
|
vexpand: true;
|
||
|
halign: fill;
|
||
|
|
||
|
Gtk.Label{
|
||
|
label: "Log information";
|
||
|
hexpand: true;
|
||
|
}
|
||
|
Gtk.ScrolledWindow server_info {
|
||
|
width-request: 100;
|
||
|
Adw.PreferencesPage {
|
||
|
Adw.PreferencesGroup server_settings{
|
||
|
vexpand: true;
|
||
|
valign: center;
|
||
|
title: "Server Information";
|
||
|
description: "The information the server published on connection";
|
||
|
}}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
Gtk.Statusbar{Gtk.Label{
|
||
|
label: "Status";
|
||
|
}}
|
||
|
|
||
|
};
|
||
|
}
|