init update navigation button

This commit is contained in:
yggverse 2024-08-13 09:05:59 +03:00
parent bc73c831c1
commit fb54cc4431
7 changed files with 76 additions and 9 deletions

View file

@ -1,5 +1,6 @@
#include "navbar.hpp"
#include "navbar/base.hpp"
#include "navbar/update.hpp"
using namespace app::browser::main::tab::data;
@ -10,16 +11,38 @@ Navbar::Navbar()
Gtk::Orientation::HORIZONTAL
);
set_homogeneous(
true
set_spacing(
SPACING
);
set_margin_top(
MARGIN
);
set_margin_start(
MARGIN
);
set_margin_end(
MARGIN
);
set_margin_bottom(
MARGIN
);
// Init elements
base = new navbar::Base();
append(
* base
);
append(
* base
);
update = new navbar::Update();
append(
* update
);
}
Navbar::~Navbar() = default;