mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-16 09:40:01 +00:00
43 lines
484 B
C++
43 lines
484 B
C++
#include "main.hpp"
|
|
#include "main/tab.hpp"
|
|
|
|
using namespace app::browser;
|
|
|
|
Main::Main()
|
|
{
|
|
// Init container
|
|
set_orientation(
|
|
Gtk::Orientation::VERTICAL
|
|
);
|
|
|
|
set_homogeneous(
|
|
true
|
|
);
|
|
|
|
// Init tabs
|
|
tab = new main::Tab();
|
|
|
|
append(
|
|
* tab
|
|
);
|
|
}
|
|
|
|
Main::~Main()
|
|
{
|
|
remove(
|
|
* tab
|
|
);
|
|
|
|
delete tab;
|
|
|
|
tab = nullptr;
|
|
}
|
|
|
|
void Main::tabAppend()
|
|
{
|
|
tab->append(
|
|
nullptr,
|
|
true,
|
|
true
|
|
);
|
|
}; |