begin libadwaita headerbar tabs integration

This commit is contained in:
yggverse 2024-10-10 23:34:06 +03:00
parent 765a24f331
commit ce29a06dda
16 changed files with 269 additions and 156 deletions

View file

@ -0,0 +1,20 @@
use gtk::{PackType, WindowControls};
use std::sync::Arc;
pub struct Widget {
gobject: WindowControls,
}
impl Widget {
// Construct
pub fn new_arc() -> Arc<Self> {
Arc::new(Self {
gobject: WindowControls::new(PackType::End),
})
}
// Getters
pub fn gobject(&self) -> &WindowControls {
&self.gobject
}
}