mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
init navbar actions
This commit is contained in:
parent
49fd7d0ab8
commit
d95b85932f
4 changed files with 68 additions and 17 deletions
|
|
@ -1,7 +1,11 @@
|
|||
#ifndef 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 <sigc++/functors/mem_fun.h>
|
||||
|
||||
namespace app::browser::main::tab::data
|
||||
{
|
||||
|
|
@ -18,9 +22,8 @@ namespace app::browser::main::tab::data
|
|||
{
|
||||
private:
|
||||
|
||||
// Defaults
|
||||
const int SPACING = 8;
|
||||
const int MARGIN = 8;
|
||||
// Actions
|
||||
Glib::RefPtr<Gio::SimpleActionGroup> action_group;
|
||||
|
||||
// Components
|
||||
navbar::Base * base;
|
||||
|
|
@ -29,11 +32,20 @@ namespace app::browser::main::tab::data
|
|||
navbar::Request * request;
|
||||
navbar::Update * update;
|
||||
|
||||
// Defaults
|
||||
const int SPACING = 8;
|
||||
const int MARGIN = 8;
|
||||
|
||||
public:
|
||||
|
||||
Navbar();
|
||||
|
||||
~Navbar();
|
||||
|
||||
// Actions
|
||||
void refresh();
|
||||
|
||||
// Getters
|
||||
Glib::ustring get_request_value();
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue