Add StatusArea widget
A palceholder, for now.
This commit is contained in:
parent
121c759904
commit
843fba67b1
3 changed files with 59 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ use cascade::cascade;
|
|||
use glib::clone;
|
||||
use gtk4::{gdk, glib, prelude::*};
|
||||
|
||||
use crate::status_area::StatusArea;
|
||||
use crate::time_button::TimeButton;
|
||||
use crate::x;
|
||||
|
||||
|
|
@ -14,6 +15,7 @@ pub fn window(monitor: gdk::Monitor) -> gtk4::Window {
|
|||
..append(>k4::Button::with_label("Applications"));
|
||||
}));
|
||||
..set_center_widget(Some(&TimeButton::new()));
|
||||
..set_end_widget(Some(&StatusArea::new()));
|
||||
};
|
||||
|
||||
let window = cascade! {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue