set defaults in header file, add comments

This commit is contained in:
yggverse 2024-08-27 16:00:12 +03:00
parent c3f84a05a2
commit afa21ea17a
2 changed files with 7 additions and 1 deletions

View File

@ -11,7 +11,7 @@ Main::Main()
); );
set_homogeneous( set_homogeneous(
true HOMOGENEOUS
); );
// Init tabs // Init tabs

View File

@ -14,15 +14,21 @@ namespace app::browser
class Main : public Gtk::Box class Main : public Gtk::Box
{ {
// Components
main::Tab * mainTab; main::Tab * mainTab;
// Defaults
const bool HOMOGENEOUS = true;
public: public:
Main(); Main();
~Main(); ~Main();
// Getters
Glib::ustring get_current_tab_label_text(); Glib::ustring get_current_tab_label_text();
// Actions
void tab_append(); void tab_append();
void tab_close_all(); void tab_close_all();
void tab_close_left(); void tab_close_left();