|
|
@ -28,7 +28,12 @@ Page::Page( |
|
|
|
this->db = db |
|
|
|
this->db = db |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
// Init components
|
|
|
|
// Init widget
|
|
|
|
|
|
|
|
set_orientation( |
|
|
|
|
|
|
|
Gtk::Orientation::VERTICAL |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Init widget components
|
|
|
|
pageNavigation = Gtk::make_managed<page::Navigation>( |
|
|
|
pageNavigation = Gtk::make_managed<page::Navigation>( |
|
|
|
this->db, |
|
|
|
this->db, |
|
|
|
ACTION__UPDATE, |
|
|
|
ACTION__UPDATE, |
|
|
@ -47,11 +52,6 @@ Page::Page( |
|
|
|
* pageContent |
|
|
|
* pageContent |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
// Init widget
|
|
|
|
|
|
|
|
set_orientation( |
|
|
|
|
|
|
|
Gtk::Orientation::VERTICAL |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Connect events
|
|
|
|
// Connect events
|
|
|
|
/* activated twice on tab change @TODO
|
|
|
|
/* activated twice on tab change @TODO
|
|
|
|
signal_realize().connect( |
|
|
|
signal_realize().connect( |
|
|
|