rename tab elements namespace

This commit is contained in:
yggverse 2024-08-15 18:52:11 +03:00
parent 4e733d8997
commit 2986a475c1
29 changed files with 181 additions and 181 deletions

View file

@ -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
}