mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
38 lines
751 B
C++
38 lines
751 B
C++
#include "container.h"
|
|
|
|
namespace app
|
|
{
|
|
namespace browser
|
|
{
|
|
// Construct
|
|
Container::Container(
|
|
Browser *browser
|
|
) {
|
|
// Init GTK
|
|
this->gtk = gtk_box_new(
|
|
GTK_ORIENTATION_VERTICAL,
|
|
Container::SPACING
|
|
);
|
|
|
|
gtk_widget_show(
|
|
GTK_WIDGET(
|
|
this->gtk
|
|
)
|
|
);
|
|
|
|
// Init tab
|
|
this->tab = new container::Tab(
|
|
this
|
|
);
|
|
|
|
gtk_box_append(
|
|
GTK_BOX(
|
|
this->gtk
|
|
),
|
|
GTK_WIDGET(
|
|
this->tab
|
|
)
|
|
);
|
|
}
|
|
}
|
|
}
|