Browse Source

draft click event

CPP-GTK4
yggverse 4 months ago
parent
commit
b328c25904
  1. 14
      src/app/browser/header/tab.cpp
  2. 2
      src/app/browser/header/tab.hpp

14
src/app/browser/header/tab.cpp

@ -11,6 +11,18 @@ Tab::Tab()
set_icon_name( set_icon_name(
ICON ICON
); );
signal_clicked().connect(
sigc::mem_fun(
* this,
& Tab::click
)
);
} }
Tab::~Tab() = default; Tab::~Tab() = default;
void Tab::click()
{
// @TODO
}

2
src/app/browser/header/tab.hpp

@ -16,6 +16,8 @@ namespace app::browser::header
Tab(); Tab();
~Tab(); ~Tab();
void click();
}; };
} }

Loading…
Cancel
Save