complete widget submodule refactory

This commit is contained in:
yggverse 2024-09-22 22:23:44 +03:00
parent e45b7f0a4a
commit 1e42a75f2e
29 changed files with 585 additions and 145 deletions

View file

@ -10,11 +10,11 @@ impl Main {
// Construct
pub fn new() -> Main {
// Init components
let tab = tab::new();
let tab = tab::Tab::new();
// Init struct
Self {
widget: widget::Main::new(tab.widget.as_ref()), // @TODO
widget: widget::Main::new(tab.widget().gtk()), // @TODO
tab,
}
}