implement separated tab label class

This commit is contained in:
yggverse 2024-08-13 07:55:23 +03:00
parent 6e115ca3c1
commit 88e5ba3736
6 changed files with 87 additions and 46 deletions

View file

@ -2,24 +2,21 @@
#define APP_BROWSER_MAIN_TAB_HPP
#include <glibmm/i18n.h>
#include <gtkmm/gestureclick.h>
#include <gtkmm/label.h>
#include <gtkmm/notebook.h>
namespace app::browser::main
{
namespace tab
{
class Label;
}
class Tab : public Gtk::Notebook
{
private:
void on_label_click(
int n,
double x,
double y
);
public:
tab::Label * label;
Tab();
~Tab();