|
|
@ -1,7 +1,11 @@ |
|
|
|
#ifndef APP_BROWSER_MAIN_TAB_DATA_NAVBAR_HPP |
|
|
|
#ifndef APP_BROWSER_MAIN_TAB_DATA_NAVBAR_HPP |
|
|
|
#define APP_BROWSER_MAIN_TAB_DATA_NAVBAR_HPP |
|
|
|
#define APP_BROWSER_MAIN_TAB_DATA_NAVBAR_HPP |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <giomm/simpleactiongroup.h> |
|
|
|
|
|
|
|
#include <glibmm/refptr.h> |
|
|
|
|
|
|
|
#include <glibmm/ustring.h> |
|
|
|
#include <gtkmm/box.h> |
|
|
|
#include <gtkmm/box.h> |
|
|
|
|
|
|
|
#include <sigc++/functors/mem_fun.h> |
|
|
|
|
|
|
|
|
|
|
|
namespace app::browser::main::tab::data |
|
|
|
namespace app::browser::main::tab::data |
|
|
|
{ |
|
|
|
{ |
|
|
@ -18,9 +22,8 @@ namespace app::browser::main::tab::data |
|
|
|
{ |
|
|
|
{ |
|
|
|
private: |
|
|
|
private: |
|
|
|
|
|
|
|
|
|
|
|
// Defaults
|
|
|
|
// Actions
|
|
|
|
const int SPACING = 8; |
|
|
|
Glib::RefPtr<Gio::SimpleActionGroup> action_group; |
|
|
|
const int MARGIN = 8; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Components
|
|
|
|
// Components
|
|
|
|
navbar::Base * base; |
|
|
|
navbar::Base * base; |
|
|
@ -29,11 +32,20 @@ namespace app::browser::main::tab::data |
|
|
|
navbar::Request * request; |
|
|
|
navbar::Request * request; |
|
|
|
navbar::Update * update; |
|
|
|
navbar::Update * update; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Defaults
|
|
|
|
|
|
|
|
const int SPACING = 8; |
|
|
|
|
|
|
|
const int MARGIN = 8; |
|
|
|
|
|
|
|
|
|
|
|
public: |
|
|
|
public: |
|
|
|
|
|
|
|
|
|
|
|
Navbar(); |
|
|
|
Navbar(); |
|
|
|
|
|
|
|
|
|
|
|
~Navbar(); |
|
|
|
~Navbar(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Actions
|
|
|
|
|
|
|
|
void refresh(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Getters
|
|
|
|
|
|
|
|
Glib::ustring get_request_value(); |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|