mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
implement page close on tab label double click
This commit is contained in:
parent
530991a48e
commit
a7bd2ae078
2 changed files with 51 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue