#include "header.hpp" #include "header/main.hpp" #include "header/menu.hpp" #include "header/tab.hpp" using namespace app::browser; Header::Header() { // Init header bar set_show_title_buttons( SHOW_TITLE_BUTTONS ); // Init menu headerMenu = Gtk::make_managed(); pack_start( * headerMenu ); // Init tab headerTab = Gtk::make_managed(); pack_start( * headerTab ); // Init main widget headerMain = Gtk::make_managed(); set_title_widget( * headerMain ); } void Header::refresh( const Glib::ustring & TITLE, const Glib::ustring & SUBTITLE ) { headerMain->set_title( TITLE ); headerMain->set_subtitle( SUBTITLE ); }