mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
rename tab elements namespace
This commit is contained in:
parent
4e733d8997
commit
2986a475c1
29 changed files with 181 additions and 181 deletions
|
|
@ -1,55 +0,0 @@
|
|||
#include "data.hpp"
|
||||
#include "data/navbar.hpp"
|
||||
#include "data/content.hpp"
|
||||
|
||||
using namespace app::browser::main::tab;
|
||||
|
||||
Data::Data()
|
||||
{
|
||||
// Init container
|
||||
set_orientation(
|
||||
Gtk::Orientation::VERTICAL
|
||||
);
|
||||
|
||||
// Init actions group
|
||||
action_group = Gio::SimpleActionGroup::create();
|
||||
|
||||
// Define group actions
|
||||
action_group->add_action(
|
||||
"update",
|
||||
sigc::mem_fun(
|
||||
* this,
|
||||
& Data::update
|
||||
)
|
||||
);
|
||||
|
||||
insert_action_group(
|
||||
"data",
|
||||
action_group
|
||||
);
|
||||
|
||||
// Init components
|
||||
navbar = new data::Navbar();
|
||||
|
||||
append(
|
||||
* navbar
|
||||
);
|
||||
|
||||
// Refresh children elements view (e.g. buttons sensitivity)
|
||||
// because of insert_action_group + append here @TODO
|
||||
navbar->refresh();
|
||||
|
||||
content = new data::Content();
|
||||
|
||||
append(
|
||||
* content
|
||||
);
|
||||
}
|
||||
|
||||
Data::~Data() = default;
|
||||
|
||||
// Actions
|
||||
void Data::update()
|
||||
{
|
||||
// navbar->get_request_value() @TODO
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue