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 6 additions and 5 deletions
Showing only changes of commit ff13ff3c0e - Show all commits

View File

@ -1,5 +1,4 @@
use adw::prelude::AdwApplicationWindowExt;
use gtk::prelude::*;
use adw::prelude::*;
use kifu_core::{CoreApp, CoreRequest, CoreResponse};
use kifu_gtk::{
perftrace,
@ -97,11 +96,13 @@ fn main() {
core: core.clone(),
};
let window = adw::ApplicationWindow::new(app);
let window = adw::ApplicationWindow::builder()
.application(app)
.width_request(800)
.height_request(500)
.build();
window.present();
window.set_show_menubar(true);
gtk_rx.attach(None, {
let api = api.clone();
move |message| {