mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
init update navigation button
This commit is contained in:
parent
bc73c831c1
commit
fb54cc4431
7 changed files with 76 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue