Try migrate other elements [Learning]

This commit is contained in:
Florian RICHER 2023-10-17 23:33:48 +02:00
parent ef2fcf335e
commit d9a1433cc2

View file

@ -2,8 +2,30 @@ using Gtk 4.0;
using Adw 1;
template TutorialWindow : Adw.ApplicationWindow {
title: _("My Application");
default-width: 800;
default-height: 600;
Adw.ToolbarView {
[top]
Adw.HeaderBar header_bar {
[end]
Gtk.MenuButton {
menu-model: primary_menu;
primary: True;
icon: "open-menu-symbolic";
tooltip-text: _("Menu");
}
}
Gtk.Label {
styles ["title-1"]
label: "Hello, World!";
}
}
}
menu primary_menu {