init tab class

This commit is contained in:
yggverse 2024-08-05 03:52:02 +03:00
parent 3e24a6fb72
commit 3bcffc4326
5 changed files with 90 additions and 0 deletions

View file

@ -0,0 +1,31 @@
#include "tab.h"
namespace app
{
namespace browser
{
namespace container
{
// Construct
Tab::Tab(
Container *container
) {
// Init GTK
this->gtk = gtk_notebook_new();
gtk_notebook_set_scrollable(
GTK_NOTEBOOK(
this->gtk
),
Tab::SCROLLABLE
);
gtk_widget_show(
GTK_WIDGET(
this->gtk
)
);
}
}
}
}