We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94db1f1 commit b8d5ae9Copy full SHA for b8d5ae9
src/application/mod.rs
@@ -25,12 +25,19 @@ fn main_keyboard(app: >k::Application, keyboard: Rc<Keyboard>) {
25
..add(&vbox);
26
};
27
28
+ let header_bar = cascade! {
29
+ gtk::HeaderBar::new();
30
+ ..set_title(Some("System76 Keyboard Configurator"));
31
+ ..set_show_close_button(true);
32
+ };
33
+
34
let window = cascade! {
35
gtk::ApplicationWindow::new(app);
- ..set_title("Keyboard Layout");
36
+ ..set_title("System76 Keyboard Configurator");
37
..set_border_width(10);
38
..set_position(gtk::WindowPosition::Center);
39
..set_default_size(1024, 768);
40
+ ..set_titlebar(Some(&header_bar));
41
..add(&scrolled_window);
42
43
0 commit comments