mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add header child
This commit is contained in:
parent
080e07da94
commit
599b03e551
1 changed files with 7 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ use gtk::{
|
|||
pub struct Browser {
|
||||
db: Arc<sqlite::Connection>,
|
||||
pub widget: Arc<gtk::ApplicationWindow>,
|
||||
pub header: Arc<header::Header>,
|
||||
pub main: Arc<main::Main>,
|
||||
}
|
||||
|
||||
|
|
@ -56,5 +57,10 @@ pub fn new(app: &Application, db: Arc<sqlite::Connection>, width: i32, height: i
|
|||
widget.add_action_entries([action_tab_append, action_debug, action_quit]);
|
||||
|
||||
// Done
|
||||
Browser { db, widget, main }
|
||||
Browser {
|
||||
db,
|
||||
widget,
|
||||
header,
|
||||
main,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue