Yoda/src/app/browser/main.hpp

37 lines
663 B
C++
Raw Normal View History

2024-08-12 21:35:52 +03:00
#ifndef APP_BROWSER_MAIN_HPP
#define APP_BROWSER_MAIN_HPP
2024-08-11 22:04:34 +03:00
#include <glibmm/i18n.h>
2024-08-20 16:27:35 +03:00
#include <glibmm/ustring.h>
2024-08-11 22:04:34 +03:00
#include <gtkmm/box.h>
namespace app::browser
{
namespace main
{
class Tab;
}
class Main : public Gtk::Box
{
2024-08-27 14:30:23 +03:00
main::Tab * mainTab;
2024-08-11 22:04:34 +03:00
public:
Main();
2024-08-12 09:45:22 +03:00
~Main();
2024-08-20 16:27:35 +03:00
Glib::ustring get_current_tab_label_text();
2024-08-12 18:16:27 +03:00
void tab_append();
2024-08-20 16:27:35 +03:00
void tab_close_all();
2024-08-12 20:24:06 +03:00
void tab_close_left();
void tab_close_right();
2024-08-20 16:27:35 +03:00
void tab_close();
void tab_update();
2024-08-27 15:53:15 +03:00
void refresh();
2024-08-11 22:04:34 +03:00
};
}
2024-08-12 21:35:52 +03:00
#endif // APP_BROWSER_MAIN_HPP