Set up a configuration UI #66

Merged
savanni merged 7 commits from kifu/configuration into main 2023-08-25 01:08:33 +00:00
1 changed files with 11 additions and 0 deletions
Showing only changes of commit 3998538e88 - Show all commits

View File

@ -16,6 +16,17 @@ impl Default for LayoutPrivate {
.show_start_title_buttons(true) .show_start_title_buttons(true)
.show_end_title_buttons(true) .show_end_title_buttons(true)
.build(); .build();
let app_menu = gio::Menu::new();
app_menu.append(Some("Configuration"), Some("show-config"));
let hamburger = gtk::MenuButton::builder()
.icon_name("open-menu-symbolic")
.build();
hamburger.set_menu_model(Some(&app_menu));
header.pack_end(&hamburger);
let content = adw::StatusPage::builder().title("Nothing here").build(); let content = adw::StatusPage::builder().title("Nothing here").build();
Self { Self {