init base button class

This commit is contained in:
yggverse 2024-08-13 08:40:17 +03:00
parent 3136b0b21c
commit 940c98f3c6
6 changed files with 59 additions and 0 deletions

View file

@ -1,9 +1,11 @@
#include "navbar.hpp"
#include "navbar/base.hpp"
using namespace app::browser::main::tab::data;
Navbar::Navbar()
{
// Init container
set_orientation(
Gtk::Orientation::HORIZONTAL
);
@ -11,6 +13,13 @@ Navbar::Navbar()
set_homogeneous(
true
);
// Init elements
base = new navbar::Base();
append(
* base
);
}
Navbar::~Navbar() = default;