|
|
@ -3,6 +3,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include <gtkmm/window.h> |
|
|
|
#include <gtkmm/window.h> |
|
|
|
#include <gtkmm/headerbar.h> |
|
|
|
#include <gtkmm/headerbar.h> |
|
|
|
|
|
|
|
#include <gtkmm/menubutton.h> |
|
|
|
#include <gtkmm/notebook.h> |
|
|
|
#include <gtkmm/notebook.h> |
|
|
|
|
|
|
|
|
|
|
|
namespace app |
|
|
|
namespace app |
|
|
@ -17,24 +18,38 @@ namespace app |
|
|
|
|
|
|
|
|
|
|
|
Browser(); |
|
|
|
Browser(); |
|
|
|
|
|
|
|
|
|
|
|
class Header : Gtk::HeaderBar |
|
|
|
class Header : Gtk::HeaderBar |
|
|
|
{ |
|
|
|
{ |
|
|
|
public: |
|
|
|
public: |
|
|
|
|
|
|
|
|
|
|
|
const bool SHOW_TITLE_BUTTONS = true; |
|
|
|
const bool SHOW_TITLE_BUTTONS = true; |
|
|
|
|
|
|
|
|
|
|
|
Header(); |
|
|
|
Header(); |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Container : Gtk::Notebook |
|
|
|
class Menu : public Gtk::MenuButton |
|
|
|
{ |
|
|
|
{ |
|
|
|
public: |
|
|
|
const Glib::ustring TOOLTIP = "Menu"; |
|
|
|
|
|
|
|
|
|
|
|
const bool SCROLLABLE = true; |
|
|
|
Menu(); |
|
|
|
const bool REORDERABLE = true; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
Container(); |
|
|
|
class Tab : public Gtk::MenuButton |
|
|
|
}; |
|
|
|
{ |
|
|
|
|
|
|
|
const Glib::ustring TOOLTIP = "New tab"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tab(); |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Container : Gtk::Notebook |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
public: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const bool SCROLLABLE = true; |
|
|
|
|
|
|
|
const bool REORDERABLE = true; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Container(); |
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|