implement page close on tab label double click

This commit is contained in:
yggverse 2024-08-12 17:43:18 +03:00
parent 530991a48e
commit a7bd2ae078
2 changed files with 51 additions and 6 deletions

View file

@ -2,12 +2,22 @@
#define APP_BROWSER_MAIN_TAB_H
#include <glibmm/i18n.h>
#include <gtkmm/gestureclick.h>
#include <gtkmm/label.h>
#include <gtkmm/notebook.h>
namespace app::browser::main
{
class Tab : public Gtk::Notebook
{
private:
void on_label_click(
int n,
double x,
double y
);
public:
const bool SCROLLABLE = true;